[GHC] #2668: Standalone deriving doesn't do newtype deriving
properly
GHC
trac at galois.com
Thu Oct 9 03:56:03 EDT 2008
#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
More information about the Glasgow-haskell-bugs
mailing list