Ticket #222 (new bug report)
Opened 5 years ago
Poor parse error message
|Reported by:||NeilMitchell||Owned by:||nibro|
The following snippet
main = print $ "hello" ++ "world -- any random junk that goes here gets added onto the character count -- and the quote ends it with some garbage " module
Sample.hs:1:141: Parse error: module
The character count is crazy (there is no character 141 on the first line). In addition if I remove the module then it passes the parser, but GHC fails on it.