Ticket #3774 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

panic - caused by language pragma closed in first column

Reported by: andrewufrank Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.10.4
Keywords: language pragma Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

if the language pragma is closed on a new line panic breaks out. adding two spaces before the #-} is sufficient to compile.

used 6.10.4 on ubuntu 9.04

here the output and the program:

frank@atlantaJ:~/leksahworkspace/spaceTimeDuality$ ghc panic.hs ghc: panic! (the 'impossible' happened)

(GHC version 6.10.4 for i386-unknown-linux):

getOptions'.parseLanguage(1) went past eof token

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


the program is:

{-# LANGUAGE TypeSynonymInstances? #-}

module SpaceTimeDuality? where

main = do

return ()

Change History

Changed 3 years ago by igloo

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

Thanks for the report. This is a duplicate of #3645.

Note: See TracTickets for help on using tickets.