Skip to content

Ghci panics with type applications to unknown functions

I haven't investigated further, but I stumbled upon the following:

Prelude> :set -XTypeApplications
Prelude> :t nonexistant @[]
ghc: panic! (the 'impossible' happened)
  (GHC version 8.0.2 for x86_64-unknown-linux):
	initTc: unsolved constraints
  WC {wc_insol =
        [W] nonexistant_a2YB :: t_a2YA[tau:3] (CHoleCan: nonexistant)}
Trac metadata
Trac field Value
Version 8.0.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information