Ticket #1968 (closed bug: fixed)
data family + GADT: not implemented yet
| Reported by: | Remi | Owned by: | chak |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10 branch |
| Component: | Compiler (Type checker) | Version: | 6.9 |
| Keywords: | data type family GADT choose_univs | Cc: | rturk@…, tora@…, g9ks157k@… |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Moderate (less than a day) | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
My very first attempt at playing with data type families + GADTs went wrong, using 6.9.20071209:
{-# LANGUAGE TypeFamilies, GADTs #-}
data family HiThere a :: *
data instance HiThere () where
HiThere :: HiThere ()
GHCi, version 6.9.20071209: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. [1 of 1] Compiling Main ( bar.hs, interpreted ) *** Exception: typecheck/TcTyClsDecls.lhs:(878,4)-(884,42): Non-exhaustive patterns in function choose_univs
Change History
Note: See
TracTickets for help on using
tickets.
