[GHC] #10707: -fth-dec-file outputs invalid case clauses
GHC
ghc-devs at haskell.org
Fri Jul 31 09:42:23 UTC 2015
#10707: -fth-dec-file outputs invalid case clauses
-------------------------------------+-------------------------------------
Reporter: Fabian | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Template Haskell | Version: 7.10.1
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: #10701 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Fabian):
Replying to [comment:3 rwbarton]:
> I'm not sure what you mean by "invalid case clauses", but it seems to me
that the error is that
> {{{
> case e of { ...alts... } foo
> }}}
> is not valid syntax for an application, it must be parenthesized like
> {{{
> (case e of { ...alts... }) foo
> }}}
> A problem with the case expression itself in its context, not the case
clauses.
I wasn't sure exactly what was wrong with the output
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10707#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list