ghc 6.10.4 freebsd panic for language pragma of form: -foobar
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
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |