Ticket #760 (closed bug: fixed)
Template Haskell doesn't like scoped type variables
| Reported by: | rl@… | Owned by: | simonpj |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | Compiler | Version: | 6.4.2 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
GHC panics is scoped type variables are used in [d| ... |]:
[rl@rl-lap stuff]$ cat R.hs
$(id [d| f (x :: a) = x |])
[rl@rl-lap stuff]$ ghc -fglasgow-exts -c R.hs
ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
Failed binder lookup: a{tv a18c}
Please report this as a compiler bug. See:
http://www.haskell.org/ghc/reportabug
Change History
Note: See
TracTickets for help on using
tickets.
