[GHC] #12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs
GHC
ghc-devs at haskell.org
Wed Jul 20 21:20:50 UTC 2016
#12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs
-------------------------------------+-------------------------------------
Reporter: ifigueroap | Owner:
Type: bug | Status: closed
Priority: lowest | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by rwbarton):
* status: new => closed
* resolution: => invalid
Comment:
No, it's correct as-is. The C preprocessor consumes the line continuation
marker `\`, so the Haskell source is a single-line string constant. It
would be wrong to add a second `\` before `module`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12414#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list