You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I save this program on Windows (with the typical newlines used on Windows):
import std.stdio: writeln;
import std.string: outdent;
string foo() /*pure nothrow*/ {
return q{
first line
second line
third line
}.outdent;
}
void main() {
writeln(foo());
}
It outputs double newlines:
first line
second line
third line
Also std.string.outdent() is not pure nor nothrow.
The text was updated successfully, but these errors were encountered:
bearophile_hugs reported this on 2013-07-16T16:12:56Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=10654
Description
The text was updated successfully, but these errors were encountered: