LDC 1.4.0-beta1
jmh530 via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun Sep 10 09:25:52 PDT 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC
> 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>
The following code compiles on DMD, but not on LDC (tested
versions 1.3.0 and the 1.4.0 beta).
unittest
{
import std.array : appender;
import std.format : formattedWrite;
auto x = appender!(string);
typeof(x) y;
formattedWrite(y, "%2s", [0, 1]);
assert(y.data == "[ 0, 1]");
}
More information about the Digitalmars-d-announce
mailing list