https://d.puremagic.com/issues/show_bug.cgi?id=3882
--- Comment #19 from Per Nordl�w <[email protected]> 2014-03-01 16:53:11 PST --- > My suggestion is to search for the "cannot call impure function" string in the > compiler source code and copy how it's done there. Do you mean toPrettyChars()? I don't understand its behaviour. What does test.f!int.f mean?: Warning: Call to strictly pure function test.f!int.f discards return value, prepend a cast(void) if intentional given the code @safe pure nothrow T f(T)(T x) { return x*x; } void main(string args[]) { int x = 3; f(x); } What do you think? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
