Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,866
    • Issues 4,866
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 460
    • Merge requests 460
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21583
Closed
Open
Created May 16, 2022 by sfultong@sfultong

flatten_args wandered into deeper water than usual

Summary

GHC panics because of issue in title.

[11 of 12] Compiling Telomare.Possible ( src/Telomare/Possible.hs, /home/sfultong/code/stand-in-language/dist-newstyle/build/x86_64-linux/ghc-8.10.7/telomare-0.1.0.0/build/Telomare/Possible.o, /home/sfultong/code/stand-in-language/dist-newstyle/build/x86_64-linux/ghc-8.10.7/telomare-0.1.0.0/build/Telomare/Possible.dyn_o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.10.7:
	flatten_args wandered into deeper water than usual
  Call stack:
      CallStack (from HasCallStack):
        callStackDoc, called at compiler/utils/Outputable.hs:1179:37 in ghc:Outputable
        pprPanic, called at compiler/typecheck/TcFlatten.hs:1029:21 in ghc:TcFlatten

Steps to reproduce

Compile https://github.com/sfultong/stand-in-language/blob/7d844b0271156988dad9f843810ed9e98042c6f8/src/Telomare/Possible.hs

Expected behavior

No GHC panic.

Environment

  • GHC version used: 8.10.7

Optional:

  • Operating System:
  • System Architecture:
Edited May 17, 2022 by sfultong
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking