[GHC] #15790: String literals are not escaped in -ddump-splices

GHC ghc-devs at haskell.org
Sun Oct 21 13:27:28 UTC 2018


#15790: String literals are not escaped in -ddump-splices
-------------------------------------+-------------------------------------
        Reporter:  michalrus         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #4436             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * related:   => #4436


Comment:

 Hah. It actually used to be the case that `\n` characters //were// escaped
 in `-ddump-splices`. However, someone specifically requested to change
 that to the current behavior (printing `\n` as newlines) in #4436.

 I'm not sure which behavior is better, given that separate groups of
 people want different things here.

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


More information about the ghc-tickets mailing list