digitalmars.D.bugs - [Issue 12364] New: Pure std.math.cbrt
- d-bugmail puremagic.com (24/24) Mar 14 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12364
https://d.puremagic.com/issues/show_bug.cgi?id=12364 Summary: Pure std.math.cbrt Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc void main() pure { import std.math: cbrt; auto x = cbrt(1.0); } DMD 2.066alpha gives: test.d(3,18): Error: pure function 'D main' cannot call impure function 'std.math.cbrt' -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 14 2014