[Issue 16634] New: std.math exposes yl2x and yl2xp1 publicly

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 23 11:55:33 PDT 2016


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

          Issue ID: 16634
           Summary: std.math exposes yl2x and yl2xp1 publicly
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: safety0ff.bugz at gmail.com

import core.math;
import std.math;

void main()
{
  yl2x(1.0,1.0);
  yl2xp1(1.0,1.0);
}

Error: std.math.yl2x at /opt/compilers/dmd2/include/std/math.d(6982) conflicts
with core.math.yl2x at /opt/compilers/dmd2/include/core/math.d(149)
Error: std.math.yl2xp1 at /opt/compilers/dmd2/include/std/math.d(6983)
conflicts with core.math.yl2xp1 at /opt/compilers/dmd2/include/core/math.d(150)

There's no documentation that these functions exist in std.math, only
core.math.

--


More information about the Digitalmars-d-bugs mailing list