
#13644: overloaded name used in record pattern matching leads to panic! (the 'impossible' happened) in ghc -------------------------------------+------------------------------------- Reporter: pjljvdlaar | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Triggers an assertion failure with a `DEBUG` compiler. {{{ [1 of 4] Compiling FuncId2 ( FuncId2.hs, FuncId2.o ) [2 of 4] Compiling Ident2 ( Ident2.hs, Ident2.o ) [3 of 4] Compiling TxsDefs2 ( TxsDefs2.hs, TxsDefs2.o ) ghc-stage2: panic! (the 'impossible' happened) (GHC version 8.3.20170412 for x86_64-apple-darwin): ASSERT failed! file compiler/typecheck/TcRnExports.hs, line 604 Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13644#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler