Opened 5 months ago

Closed 5 months ago

#8536 closed bug (duplicate)

ghc panic on creating data type

Reported by: xilexio Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.3
Keywords: data Cc:
Operating System: Unknown/Multiple Architecture: x86_64 (amd64)
Type of failure: Compile-time crash Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

ghc 7.6.3 (or ghci) from Haskell Platform for Windows panics when compiling the following line:
data X = A Int { p :: Int } | B { p :: Int }

ghc.exe: panic! (the 'impossible' happened)

(GHC version 7.6.3 for i386-unknown-mingw32):

tc_hs_type: record

Change History (1)

comment:1 Changed 5 months ago by monoidal

  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report. It's already fixed in HEAD: #7943.

Note: See TracTickets for help on using tickets.