[GHC] #9077: Forcing the type to be IO {} instead of IO() causes a "panic! The impossible has happened" output.

GHC ghc-devs at haskell.org
Sun Nov 9 18:05:16 UTC 2014


#9077: Forcing the type to be IO {} instead of IO() causes a "panic! The
impossible has happened" output.
-------------------------------------+-------------------------------------
              Reporter:  Westycoot   |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:  worksforme  |         Keywords:
      Operating System:              |     Architecture:  x86
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Compile-    |       Blocked By:
  time performance bug               |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 GHC 7.6.3 indeed panics on the given example, but 7.8.3 does not.

 {{{
 $ ghc-7.8.3 T9077.hs
 [1 of 1] Compiling Main             ( T9077.hs, T9077.o )

 T9077.hs:1:12: Record syntax is illegal here: {}
 }}}

 Westycoot: please reopen if you're still having problems.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9077#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list