www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15497] New: Error: snprintf cannot be interpreted at compile

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 puremagic.com
          Reporter: timothee.cour2 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.

--
Jan 01 2016