[Issue 18472] [Reg 2.078] betterC: cannot use format at compile time.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 2 18:13:26 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18472
--- Comment #12 from Mike Franklin <slavo5150 at yahoo.com> ---
This appears to work now in nightly:
import std.format;
import std.stdio;
void main()
{
enum s = "%1$s,%2$s".format("foo","bar");
writeln(s);
}
https://run.dlang.io/is/BDyoHF
It may have been fixed inadvertently by https://github.com/dlang/dmd/pull/8523
--
More information about the Digitalmars-d-bugs
mailing list