Renamer is not applied properly to the expressions in declaration splices
To recreate this make a Haskell file say named 'T.hs', with the following code:
{-# LANGUAGE TemplateHaskell #-}
(() -> ())
Then try to compile it:
$> ghc-stage2 T.hs
[...]
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 8.1.20160617 for x86_64-unknown-linux):
tcMonoExpr _
[...]
Trac metadata
Trac field | Value |
---|---|
Version | 8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |