May 19, 2020
On Tuesday, 19 May 2020 at 05:10:01 UTC, rikki cattermole wrote:
> https://dlang.org/spec/version.html#predefined-versions
>
> FreeStanding
>
> \n is probably correct for this version, but it probably should be discussed in a PR.

newline declaration can be moved into druntime, because druntime depends from OS.

May 19, 2020
On Tuesday, 19 May 2020 at 05:02:41 UTC, Denis Feklushkin wrote:

> file std/ascii.d:
>
> /// Newline sequence for this system.
> version (Windows)
>     immutable newline = "\r\n";
> else version (Posix)
>     immutable newline = "\n";
> else
>     static assert(0, "Unsupported OS");

I just accidentally used dmd version of Phobos without LDC extension, this is already fixed for LDC fork

1 2 3 4 5
Next ›   Last »