http://d.puremagic.com/issues/show_bug.cgi?id=10790
Summary: Cannot use format in pure functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: temta...@gmail.com --- Comment #0 from Temtaime <temta...@gmail.com> 2013-08-10 15:55:54 PDT --- pure int foo() { mixin(format(`return 1;`)); } Error: pure function 'foo' cannot call impure function 'format' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------