On Mon, May 09, 2016 at 05:36:21PM -0700, Walter Bright via 
Digitalmars-d-announce 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@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.

+1.  It makes little sense for a language built-in operator to require
std.math, when the whole point behind the druntime/phobos split is to
make it possible for implementations *not* to implement Phobos.


T

-- 
Some days you win; most days you lose.

Reply via email to