[ ghc-Bugs-832920 ] Missing # from #-} elicits utterly opaque error
SourceForge.net
noreply at sourceforge.net
Thu Oct 30 04:17:42 EST 2003
Bugs item #832920, was opened at 2003-10-30 01:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=832920&group_id=8032
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing # from #-} elicits utterly opaque error
Initial Comment:
Consider this in Foo.hs
module Foo where
{-# LINE 1 "Baz.hs" -}
Notice the missing #
GHC 6.3 (HEAD, 30 Oct 2003) gives the message:
Baz.hs:0: lexical error
This is extremely opaque; after all, the error is in Foo.
And it would help to know the offending token.
Simon PJ
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=832920&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list