Bug 17782 – The identifier delimiter of a delimited string can not begin with '_'
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-08-27T03:18:44Z
Last change time
2017-10-16T09:57:31Z
Assigned to
No Owner
Creator
nmtigor.wang
Comments
Comment #0 by nmtigor.wang — 2017-08-27T03:18:44Z
The following code does not compile:
@safe unittest
{
string str = q"_DLANG
123
_DLANG";
assert( str == "123\n" );
}
Replacing "_DLANG" with "DLANG", it then compiles.