#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs