Skip to content
GitLab
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 5,249
    • Issues 5,249
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 578
    • Merge requests 578
  • 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 CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #2334
Closed
Open
Issue created Jun 03, 2008 by pgavin@trac-pgavin

panic using type families and type classes

I got a panic while trying to compile some code using type families:

ghc-6.9.20080528: panic! (the 'impossible' happened)
  (GHC version 6.9.20080528 for i386-apple-darwin):
        urk! lookup local fingerprint

I can't post the code that caused that (yet) but when I was trying to distill it down to its essence for a bug report, I got a different panic:

ghc-6.9.20080528: panic! (the 'impossible' happened)
  (GHC version 6.9.20080528 for i386-apple-darwin):
        Prelude.head: empty list

I've attached the code that caused it. I know the code might not be 100% correct, and it's a bit long, but I think it might help some.

Edited Mar 09, 2019 by Simon Marlow
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking