Skip to content

String gap fails for some chars

String gap fails with "error in character literal" 
when the first char on the new line after the '\' is
not alphanumeric (I think; I haven't done a detailed 
study).  For example, this is okay:

    "jkaehfjhsdg\
    \hgshgt"

but this is not:

    "kjsdhgkjhrtht\
    \(kjsdhkghgh"

I've attached a program with three putStrLns.  The 
first fail under 4.08.2; the last succeeds.
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedWorksForMe
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information