Ticket #4360 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

compiler crash building hashed-storage 0.5.3

Reported by: ganesh Owned by: simonpj
Priority: highest Milestone: 7.0.1
Component: Compiler Version: 6.13
Keywords: Cc: ganesh
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

ghc: panic! (the 'impossible' happened)
  (GHC version 7.0.0.20100924 for x86_64-unknown-linux):
        Expected one of wanted constraints (BUG)

This happens with cabal install hashed-storage-0.5.3, but that's a bit of a pain to reproduce as it depends on dataenc which needs a dependency bump. I cut it down to the attached file which just depends on mtl.

Attachments

X.hs Download (0.5 KB) - added by ganesh 3 years ago.

Change History

Changed 3 years ago by ganesh

  • attachment X.hs Download added

Changed 3 years ago by ganesh

  • failure changed from None/Unknown to Compile-time crash

Changed 3 years ago by igloo

  • owner set to simonpj
  • priority changed from normal to highest
  • milestone set to 7.0.1

Thanks for the report and good testcase

Changed 3 years ago by simonpj

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

Oops. Fixed by

Fri Oct  8 06:57:47 PDT 2010  simonpj@microsoft.com
  * Fix Trac #4360: omitted case in combineCtLoc

    M ./compiler/typecheck/TcInteract.lhs -8 +1
    M ./compiler/typecheck/TcSMonad.lhs -7 +8
Note: See TracTickets for help on using tickets.