#2668: Standalone deriving doesn't do newtype deriving properly
---------------------------------+------------------------------------------
    Reporter:  ryani             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  Compiler          |      Version:  6.11            
    Severity:  normal            |   Resolution:                  
    Keywords:                    |     Testcase:                  
Architecture:  Unknown/Multiple  |           Os:  Unknown/Multiple
---------------------------------+------------------------------------------
Comment (by ryani):

 Oops, that was just a typo in my test case.

 Change the instance to declare ret as
 {{{
    ret :: a -> m i i a
 }}}

 It compiles fine with the standalone commented out in GHC6.8.3 but gives
 the same error with it in.

 I'll upload a fixed attachment.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2668#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to