Typed hole inside typed Template Haskell bracket causes panic
When I say:
m :: a -> a
m x = $$([||_||])
I get:
T10946.hs:47:13:ghc: panic! (the 'impossible' happened)
(GHC version 7.10.1 for x86_64-unknown-linux):
No skolem info: a_apJ[sk]
This happens both with GHC 7.10.1 and latest HEAD (e2b579e8).
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.10.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Template Haskell |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | goldfire |
| Operating system | |
| Architecture |