[GHC] #6132: Can't use both shebang line and #ifdef declarations in the same file.

GHC ghc-devs at haskell.org
Sat Feb 20 22:20:28 UTC 2016


#6132: Can't use both shebang line and #ifdef declarations in the same file.
----------------------------------------------+----------------------------
        Reporter:  gfxmonk                    |         Owner:
            Type:  bug                        |        Status:  new
        Priority:  normal                     |     Milestone:
       Component:  Compiler (Parser)          |       Version:  7.0.4
      Resolution:                             |      Keywords:
Operating System:  Unknown/Multiple           |  Architecture:
                                              |  Unknown/Multiple
 Type of failure:  GHC rejects valid program  |     Test Case:
      Blocked By:                             |      Blocking:
 Related Tickets:                             |
----------------------------------------------+----------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"0b00add03043804211f567a3d0810114c0274252/ghc"
 0b00add0/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0b00add03043804211f567a3d0810114c0274252"
 Add test for #6132: hash bang + CPP
 }}}

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


More information about the ghc-tickets mailing list