#3538: ghc 6.10.4 freebsd panic for language pragma of form:  -foobar
-----------------------------+----------------------------------------------
Reporter:  kasse             |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  6.10.4            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 I am learning haskell, sorry if this is an irrelevant bug. Just following
 instructions from ghc.

 test.hs:
 {-# LANGUAGE -foobar #-}

 let x=2
 ---------------------------------------------


 > :l test.hs
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.4 for x86_64-unknown-freebsd):
         getOptions'.parseLanguage(2) went past eof token

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3538>
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