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: [email protected]
          Reporter: [email protected]

Just ran into this again:
[enum foo=(0.12).to!string;] fails, cf:
http://forum.dlang.org/thread/[email protected]

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.

--

Reply via email to