[GHC] #5629: missing "where" gives unclear error message
GHC
cvs-ghc at haskell.org
Sat Nov 12 19:09:59 CET 2011
#5629: missing "where" gives unclear error message
---------------------------------+------------------------------------------
Reporter: max.rabkin | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler (Parser)
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
module Main
data Foo = Foo
/tmp/foo.hs:2:0: parse error on input `data'
It would be nice to say what was wrong (if there is a long comment after
the module declaration, it can be difficult to spot what's missing)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5629>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list