[Issue 9047] Expression requiring std.math fails with function-local import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 23 08:05:26 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9047



--- Comment #8 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-23 08:05:25 PDT ---
(In reply to comment #7)
> temp.d(7): Error: undefined identifier 'std'
> ...\dmd2\src\phobos\std\range.d(611): Error: static assert  "Cannot put a
> const(dchar) into a Appender!(char[])"

Looks like another case of http://d.puremagic.com/issues/show_bug.cgi?id=9549
which was accidentally fixed by another pull.

However your test-case still creates this cascade of errors, so maybe you
should put your test-case into Issue 9549 and reopen it.

My pull here fixes the first error message (to "must import std.math"), but the
cascade of errors still appear.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list