[GHC] #10106: GHC doesn't warn on typos in language pragmas

GHC ghc-devs at haskell.org
Sun Feb 22 08:39:41 UTC 2015


#10106: GHC doesn't warn on typos in language pragmas
-------------------------------------+-------------------------------------
        Reporter:  sdemos            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Incorrect         |  (amd64)
  warning at compile-time            |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by hvr):

 The problem is rather that the warning is suppressed if errors exist... if
 you comment out the quasiquote use site, you'd get a `Warning:
 Unrecognised pragma`

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


More information about the ghc-tickets mailing list