Ticket #5189 (closed bug: duplicate)
incorrect pragma syntax leeds to panic
Description
When using a wrong pragma syntax like:
{-# LANGUAGE IncoherentInstances? -#} {-# LANGUAGE OverlappingInstances? #-} -- wrong pragma syntax! {-# LANGUAGE NoMonomorphismRestriction? #-} {-# LANGUAGE MultiParamTypeClasses? #-}
This leeds to the following ghc panic:
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for x86_64-apple-darwin):
getOptions'.parseLanguage(1) went past eof token
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Change History
Note: See
TracTickets for help on using
tickets.
