#3367: syntax error in LANGUAGE pragma -- getOptions'.parseLanguage(1) went past
eof token
-------------------------+--------------------------------------------------
Reporter:  andrewufrank  |          Owner:                  
    Type:  bug           |         Status:  new             
Priority:  normal        |      Component:  Compiler        
 Version:  6.10.3        |       Severity:  normal          
Keywords:                |       Testcase:                  
      Os:  Linux         |   Architecture:  Unknown/Multiple
-------------------------+--------------------------------------------------
 the following program is sufficient to produce this error:

 {-# LANGUAGE MultiParamTypeClasses -}

 module GZsvn.WDIRops (WDIR (..))
                 where

 the culprit is the missing # at the end of the prama.

 message:

 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.3 for i386-unknown-linux):
         getOptions'.parseLanguage(1) went past eof token

 i could not find the same error already reported, but other problems with
 LANGUAGE pragma syntax.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3367>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to