[GHC] #11961: PatBind test suite failure with `-DDEBUG`

#11961: PatBind test suite failure with `-DDEBUG` -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I get {{{ Compile failed (status 256) errors were: ghc-stage2: panic! (the 'impossible' happened) (GHC version 8.1.20160420 for x86_64-unknown-linux): ASSERT failed! CallStack (from HasCallStack): assertPprPanic, called at compiler/types/TyCoRep.hs:2082:56 in ghc:TyCoRep checkValidSubst, called at compiler/types/TyCoRep.hs:2118:17 in ghc:TyCoRep substTy, called at compiler/types/TyCoRep.hs:2060:3 in ghc:TyCoRep in_scope InScope {a_apN t_apW a_apX} tenv [apC :-> t_apW[tau:3], apN :-> a_apX[tau:3]] tenvFVs [apD :-> t_apD[tau:3], apW :-> t_apW[tau:3], apX :-> a_apX[tau:3]] cenv [] cenvFVs [] tys [a_apN[sk] -> a_apN[sk]] cos [] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug *** unexpected failure for PatBind(normal) }}} with a `-DDEBUG` build, e.g. on travis: https://s3.amazonaws.com/archive .travis-ci.org/jobs/124426776/log.txt -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11961 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11961: PatBind test suite failure with `-DDEBUG` -------------------------------------+------------------------------------- Reporter: nomeata | Owner: simonpj Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by nomeata): * owner: => simonpj Comment: Unless I am mistaken, this was introduced with simon’s changeset:9de405d7a7e746213238375dbbc69e9b5ea8c394/ghc. I take the liberty of assigning this to you, Simon. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11961#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11961: PatBind test suite failure with `-DDEBUG` -------------------------------------+------------------------------------- Reporter: nomeata | Owner: simonpj Type: bug | Status: closed Priority: high | Milestone: Component: Compiler | Version: 8.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => fixed Comment: Fixed by one of my recent commits: {{{ commit 9dbf5f5c63f6ffde86c2faab60c97e97c77a27c3 Tidy up partial-sig quantification commit e1ff2b4950a02bc26b9ab36c9c589a8156e324bd Fix partial sigs and pattern bindings interaction commit 76d9156f6446d87e0f859a44959d63c2067fc805 Emit wild-card constraints in the right place }}} I forget which one -- but fixing this bug is what started me down the road! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11961#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC