[Issue 13917] New: Can't use '^^' at compile time?!

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 30 17:36:13 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13917

          Issue ID: 13917
           Summary: Can't use '^^' at compile time?!
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

I'm getting errors because '^^' doesn't work in ctfe?!

1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(4189): Error: Cannot
convert &real to ushort* at compile time
1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5400):        called
from here: isNaN(y)
1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5572):        called
from here: impl(cast(real)x, cast(real)y)

isNaN(), called from pow(), doesn't seem to support CTFE...

I'm amazed, this seems like, really important.

--


More information about the Digitalmars-d-bugs mailing list