← Back to index
|
Original Bugzilla link
Bug 17783 – "invalid" leftmost column string in a delimited string does not compile
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-08-27T04:36:04Z
Last change time
2024-12-13T18:54:20Z
Assigned to
No Owner
Creator
nmtigor.wang
Moved to GitHub: dmd#17815 →
Comments
Comment #0
by nmtigor.wang — 2017-08-27T04:36:04Z
The following code does not compile: @safe unittest { string str1 = q"DLANG q"123" DLANG"; assert( str1 == "q\"123\"\n" ); } But the following compiles: @safe unittest { string str1 = q"DLANG q"123" DLANG"; assert( str1 == " q\"123\"\n" ); }
Comment #1
by robert.schadek — 2024-12-13T18:54:20Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/17815
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB