[GHC] #12002: Pragmas after a module declaration are ignored without warning.

GHC ghc-devs at haskell.org
Thu May 5 13:13:44 UTC 2016


#12002: Pragmas after a module declaration are ignored without warning.
-------------------------------------+-------------------------------------
        Reporter:  seanparsons       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > this would be incredibly baffling (it was for me), it would be nice to
 see a warning for this at the least

 I agree!  Anyone want to offer a patch?

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


More information about the ghc-tickets mailing list