Skip to content

Failure in parsing a malformed LANGUAGE pragma

Very simple failure case!

{-# LANGUAGE - #-}
module Hs where

schwee = "schwoo"

{- results in output@
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.2 for i386-unknown-linux):
        getOptions'.parseLanguage(2) went past eof token

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

when trying ghc --make Hs
also blows up if you replace that - with, say, "-XBangpatterns" or whatever.
-}
Trac metadata
Trac field Value
Version 6.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information