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,322
    • Issues 4,322
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 368
    • Merge Requests 368
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10182

Closed
Open
Opened Mar 23, 2015 by Simon Peyton Jones@simonpjDeveloper

lookupIfaceGlobal crash with SOURCE import

Try this (in testsuite/tests/stranal/should_compile)

bash$ ghc -c T8743.hs-boot
bash$ ghc -c T8743.hs
ghc: panic! (the 'impossible' happened)
  (GHC version 7.8.2 for x86_64-unknown-linux):
	tcIfaceGlobal (local): not found:
    main:T8743.$fxToRowMaybe{v r2J}
    [(r2L, Class ‘main:T8743.ToRow{tc r2L}’),
     (r2M, Data constructor ‘main:T8743.D:ToRow{d r2M}’),
     (r2P, Identifier ‘main:T8743.D:ToRow{v r2P}’),
     (roB, Identifier ‘main:T8743.toRow{v roB}’),
     (rqT, Coercion axiom ‘main:T8743.NTCo:ToRow{tc rqT}’)]

Something clearly wrong here. It think this happens with prettty much any version of GHC. I found this when poking about in #10181.

Edited Mar 10, 2019 by Simon Peyton Jones
Assignee
Assign to
8.0.1
Milestone
8.0.1 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#10182