ghci panics when using type applications on variables that aren't in scope
Minimal example:
ghci> foo @Int
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.2 for x86_64-apple-darwin):
initTc: unsolved constraints
WC {wc_insol =
[W] foo_a7EJ :: t_a7EI[tau:1] (CHoleCan: foo)
[W] foo_a7F7 :: t_a7F6[tau:1] (CHoleCan: foo)}
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |