[GHC] #6132: Can't use both shebang line and #ifdef declarations in the same file.
GHC
ghc-devs at haskell.org
Mon Feb 11 12:00:14 UTC 2019
#6132: Can't use both shebang line and #ifdef declarations in the same file.
-------------------------------------+-------------------------------------
Reporter: gfxmonk | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.10.1
Component: Compiler | Version: 7.0.4
(Parser) |
Resolution: | Keywords: cpp
Operating System: MacOS X | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case: runghc/T6132
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by ahri):
I've opened a ticket on the Clang bugtracker:
https://bugs.llvm.org/show_bug.cgi?id=40689
I wonder if GHC should simply allow leading whitespace as "sh" seems happy
enough to accept a file in this form.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/6132#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list