Ticket #3774 (closed bug: fixed)
panic - caused by language pragma closed in first column
Description
if the language pragma is closed on a new line panic breaks out. adding two spaces before the #-} is sufficient to compile.
used 6.10.4 on ubuntu 9.04
here the output and the program:
frank@atlantaJ:~/leksahworkspace/spaceTimeDuality$ ghc panic.hs ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for i386-unknown-linux):
getOptions'.parseLanguage(1) went past eof token
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
the program is:
{-# LANGUAGE TypeSynonymInstances? #-}
module SpaceTimeDuality? where
main = do
return ()
Change History
Note: See
TracTickets for help on using
tickets.
