[GHC] #8929: Deriving Generics broken

GHC ghc-devs at haskell.org
Wed Mar 26 20:52:03 UTC 2014


#8929: Deriving Generics broken
-------------------------------------+----------------------------------
        Reporter:  guest             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+----------------------------------

Comment (by guest):

 Replying to [comment:1 dreixel]:
 > What is the error message that you get?

 during the compilation, I get the WARNING:

 No explicit method or default declaration for `put'
     In the instance declaration for `Binary Foo'

 When running the (decode . encode $ Foo), I get the EXCEPTION:

 No instance nor default method for class operation Data.Binary.get

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


More information about the ghc-tickets mailing list