Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,394
    • Issues 4,394
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 377
    • Merge Requests 377
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #11961

Closed
Open
Opened Apr 20, 2016 by Joachim Breitner@nomeataDeveloper

PatBind test suite failure with `-DDEBUG`

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

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#11961