[GHC] #7687: ghc panic on TH and deriveJSON
GHC
ghc-devs at haskell.org
Sat Mar 29 16:35:42 UTC 2014
#7687: ghc panic on TH and deriveJSON
---------------------------------------+----------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Template Haskell | Version: 7.4.2
Resolution: | Keywords: TH
Operating System: Windows | Architecture: x86_64 (amd64)
Type of failure: Compile-time crash | Difficulty: Unknown
Test Case: | Blocked By: 3658
Blocking: | Related Tickets:
---------------------------------------+----------------------------------
Comment (by George):
When I try to compile the code above in Description I get
Couldn't match expected type ‘Options’ with actual type ‘a0 -> a0’
Probable cause: ‘id’ is applied to too few arguments
In the first argument of ‘deriveJSON’, namely ‘id’
In the expression: deriveJSON id ''Test
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7687#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list