[Issue 15497] New: Error: snprintf cannot be interpreted at compile time, because it has no available source code
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 1 22:59:53 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15497
Issue ID: 15497
Summary: Error: snprintf cannot be interpreted at compile time,
because it has no available source code
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: timothee.cour2 at gmail.com
Just ran into this again:
[enum foo=(0.12).to!string;] fails, cf:
http://forum.dlang.org/thread/k0v3kt$25i0$1@digitalmars.com
I don't think there was a bugzilla entry for it so i created it.
It would be nice to allow [enum foo=(0.12).to!string;] since [enum
foo=(0).to!string;] works.
--
More information about the Digitalmars-d-bugs
mailing list