Ticket #4364 (new bug)
Template Haskell: Cycle in type synonym declarations
| Reported by: | igloo | Owned by: | simonpj |
|---|---|---|---|
| Priority: | high | Milestone: | 7.8.1 |
| Component: | Compiler (Type checker) | Version: | 7.1 |
| Keywords: | Cc: | jakewheatmail@…, pho@…, hackage.haskell.org@…, awson | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
type-level-numbers-0.1 doesn't build with 7.0.1 RC 1. Here's the essence:
{-# LANGUAGE TemplateHaskell #-}
module Q where
data Z
type N0 = $( [t| Z |] )
type N1 = $( [t| Z |] )
$ ghc --make m.hs
[1 of 1] Compiling Q ( m.hs, m.o )
m.hs:7:1:
Cycle in type synonym declarations:
m.hs:7:1-23: type N0 = $([t| Z |])
m.hs:8:1-23: type N1 = $([t| Z |])
Change History
Note: See
TracTickets for help on using
tickets.
