[GHC] #7396: Improve "parse error on input `$'" when TemplateHaskell PRAGMA not declared

GHC ghc-devs at haskell.org
Thu Dec 5 08:31:20 UTC 2013


#7396: Improve "parse error on input `$'" when TemplateHaskell PRAGMA not declared
----------------------------------------+---------------------------
        Reporter:  ydewit               |            Owner:
            Type:  feature request      |           Status:  patch
        Priority:  normal               |        Milestone:
       Component:  Template Haskell     |          Version:  7.4.2
      Resolution:                       |         Keywords:
Operating System:  MacOS X              |     Architecture:  x86
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+---------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"0f2a20bc882a918d39219b045a8db1ac7d9354fc/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0f2a20bc882a918d39219b045a8db1ac7d9354fc"
 Suggest TemplateHaskell after encountering a naked top-level expression

 Helps fix #7396
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7396#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list