https://issues.dlang.org/show_bug.cgi?id=18472
Issue ID: 18472 Summary: betterC: cannot use format at compile time. Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: iamthewilsona...@hotmail.com import std.format; import std.stdio; void main() { enum s = "%1$s,%2$s".format("foo","bar"); writeln(s); } fails with /dlang/dmd-nightly/linux/bin64/../../src/phobos/std/array.d(2889): Error: TypeInfo cannot be used with -betterC due to the use of Appender at line 2889 is `private struct Data` This did use to work as I have always compiled Dcompute with -betterC, however upgrading to LDC 1.8.0b1 based on v2.078.2 (from LDC master in about December), I hit #18101, and trying run.dlang.io to see how soon it would get fixed and hit this. --