#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 ajd):

 When I comment out the standalone stuff, GHC gives the message

 {{{
 The equation(s) for 'ret' have one argument,
 but its type 'M s i i a' has none
 In the definition for the method 'ret'
 In the instance declaration for IxMonad (M s)
 }}}

 which seems kind of similar...

 I'm using 6.8.2 on Windows.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2668#comment:1>
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