[GHC] #9260: Unnecessary error using GHC.TypeLits

GHC ghc-devs at haskell.org
Fri Jul 4 06:17:49 UTC 2014


#9260: Unnecessary error using GHC.TypeLits
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |            Owner:
            Type:  bug               |           Status:  new
        Priority:  low               |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:  type lits, data
Operating System:  Linux             |  kinds, error message
 Type of failure:  Incorrect         |     Architecture:  Unknown/Multiple
  warning at compile-time            |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Yes the second error is expected, the bug seems to occur for any finite
 set that is too small except the smallest example:

 {{{
 Fzero :: Fin 0
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9260#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list