[Issue 2201] Doc/Behavior Discrepancy: EndOfLine in string turns to "\n" or system-specific?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 22 04:15:42 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=2201
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
Version|1.029 |D1 & D2
--- Comment #8 from Rainer Schuetze <r.sagitario at gmx.de> 2012-01-22 04:15:34 PST ---
Sorry, but this is not true:
const string s = q{a
b};
static assert(s.length == 3);
void main()
{
assert(s.length == 3);
}
asserts both at compile time and runtime when saving with CR+LF, passes with LF
only
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list