Ticket #3538 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

ghc 6.10.4 freebsd panic for language pragma of form: -foobar

Reported by: kasse Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.10.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History

Changed 4 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to fixed

Thanks for the report. Happily, this is already fixed in the HEAD.

Note: See TracTickets for help on using tickets.