[GHC] #12002: Pragmas after a module declaration are ignored without warning.
GHC
ghc-devs at haskell.org
Wed Oct 18 06:08:38 UTC 2017
#12002: Pragmas after a module declaration are ignored without warning.
-------------------------------------+-------------------------------------
Reporter: seanparsons | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
(Parser) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: #2260 #13918 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by AntC):
* related: #2260 => #2260 #13918
Comment:
See also #13918 and other tickets linked to it.
I guess GHC treats a pragma in an unexpected place as just a comment `{-`
which it is `-}`.
(@vanto seems to have a small cottage industry going of reporting these.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12002#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list