Battle-plan for CTFE
Stefan Koch via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Jul 7 06:55:44 PDT 2016
On Tuesday, 10 May 2016 at 00:36:21 UTC, Walter Bright wrote:
> On 5/9/2016 2:32 PM, Andrej Mitrovic via Digitalmars-d-announce
> wrote:
>> On 5/9/16, Stefan Koch via Digitalmars-d-announce
>> <digitalmars-d-announce at puremagic.com> wrote:
>>> I was shocked to discover that the PowExpression actually
>>> depends
>>> on phobos!
>>
>> I seem to remember having to implement diagnostics in DMD
>> asking for
>> the user to import std.math. I'm fairly confident it had
>> something to
>> do with power expressions.
>>
>> Yah, it's a mess. :)
>>
>
> The pow stuff should just be done in dmd without reference to
> the library.
I just made a PR to fix it for ctfe.
It's a hack but then again ...
The whole handling of PowExp is a hack.
More information about the Digitalmars-d-announce
mailing list