
#12158: ghc: panic! (the 'impossible' happened) translateConPatVec: lookup -------------------------------------+------------------------------------- Reporter: wozgonon | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by wozgonon): Actually, one can reproduce with just two lines: {{{ GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help Prelude> data Stock = Stock {name :: String, ric :: String, price :: Float} deriving (Show) Prelude> price Stock{name=name,ric=ric,price=price} = price ghc: panic! (the 'impossible' happened) (GHC version 8.0.1 for x86_64-unknown-mingw32): translateConPatVec: lookup Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Prelude> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12158#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler