Bug 16634 – std.math exposes yl2x and yl2xp1 publicly
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-10-23T18:55:00Z
Last change time
2017-01-16T23:25:58Z
Assigned to
lucia.mcojocaru
Creator
safety0ff.bugz
Comments
Comment #0 by safety0ff.bugz — 2016-10-23T18:55:33Z
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.
Comment #1 by github-bugzilla — 2016-12-22T02:18:14Z