[GHC] #10348: HEAD: `KnownNat` does not imply `Typeable` any more

GHC ghc-devs at haskell.org
Mon Jun 15 11:35:08 UTC 2015


#10348: HEAD: `KnownNat` does not imply `Typeable` any more
-------------------------------------+-------------------------------------
        Reporter:  heisenbug         |                   Owner:  diatchki
            Type:  bug               |                  Status:  new
        Priority:  highest           |               Milestone:  7.12.1
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  GHC rejects       |               Test Case:
  valid program                      |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by Gabor Greif <ggreif@…>):

 In [changeset:"77e5ec83617fce4cec530c744a435535bf06130b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="77e5ec83617fce4cec530c744a435535bf06130b"
 Demonstrate that inferring Typeable for type literals works

 So #10348 is only missing the variable case:
   Known{Nat,Symbol} lit => Typeable lit
 }}}

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


More information about the ghc-tickets mailing list