
#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 sdemos): I tested that out with my code, and it does indeed print out the `Warning: Unrecognized pragma` warning. However, I think it would be better for debugging this type of issue if it didn't suppress the warning, or gave a hint that the unrecognized pragma might be the issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10106#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler