[GHC] #12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs

GHC ghc-devs at haskell.org
Wed Jul 20 21:18:01 UTC 2016


#12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs
-------------------------------------+-------------------------------------
        Reporter:  ifigueroap        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      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 osa1):

 Yes, from Haskell2010 says this:

 (https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-200002.6)

 > A string may include a “gap”—two backslants enclosing white
 characters—which is ignored. This allows one to write long strings on more
 than one line by writing a backslant at the end of one line and at the
 start of the next.

 It seems like we don't follow this rule, we only have one backslash here.

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


More information about the ghc-tickets mailing list