[Issue 2066] New: toString(int) nto CTFE-compatible
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 4 13:59:05 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2066
Summary: toString(int) nto CTFE-compatible
Product: D
Version: 2.014
Platform: PC
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: simen.kjaras at gmail.com
import std.string;
pragma(msg, toString(42));
The above program fails to compile, with the error message "cannot evaluate
toString(42) at compile time"
--
More information about the Digitalmars-d-bugs
mailing list