#1595: duplicate "not in scope" error when giving multiple vars type-signatures 
at
once
---------------------------+------------------------------------------------
  Reporter:  Isaac Dupree  |          Owner:         
      Type:  bug           |         Status:  new    
  Priority:  normal        |      Milestone:         
 Component:  Compiler      |        Version:  6.6.1  
  Severity:  minor         |       Keywords:         
Difficulty:  Unknown       |             Os:  Unknown
  Testcase:                |   Architecture:  Unknown
---------------------------+------------------------------------------------
(bug in 6.6.1 and 6.7)

 {{{
 a, b :: Integer -> Tpyo
 a = undefined
 b = undefined
 }}}
 results in
 {{{

 gw.hs:2:19: Not in scope: type constructor or class `Tpyo'

 gw.hs:2:19: Not in scope: type constructor or class `Tpyo'
 }}}

 Expected result: only one of the same error per location in file of
 mistake, not one per function being defined.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1595>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to