Ticket #194 (new bug report)

Opened 4 years ago

Bad parse error message

Reported by: NeilMitchell2 Owned by: nibro
Priority: major Milestone:
Component: parser Version: 1.8.x
Keywords: Cc:

Description

> :m Language.Haskell.Exts
Prelude Language.Haskell.Exts> parseFileContents "data A = B {c :: D}}"
Loading package haskell-src-exts-1.9.0 ... linking ... done.
*** Exception: Internal error: empty context in popContext

This parse error is very bad, and confuses users a lot!

Note: See TracTickets for help on using tickets.