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

2014-08-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9047 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

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

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #10 from yebblies yebbl...@gmail.com 2013-11-25 03:17:08 EST --- *** Issue 8587 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

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

2013-03-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #7 from bearophile_h...@eml.cc 2013-03-23 07:54:19 PDT --- void main() { import std.stdio; int x = 3; immutable j = 2 ^^ x; } Error received: temp.d(4): Error: undefined identifier 'std' Expected error: temp.d(4):

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

2013-03-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #8 from Andrej Mitrovic andrej.mitrov...@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

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

2013-03-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #9 from bearophile_h...@eml.cc 2013-03-23 12:41:29 PDT --- (In reply to comment #8) However your test-case still creates this cascade of errors, so maybe you should put your test-case into Issue 9549 and reopen it. I don't

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

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #6 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 15:07:59 PST --- *** Issue 8354 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

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

2013-01-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords|diagnostic

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

2013-01-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #2 from bearophile_h...@eml.cc 2013-01-07 11:14:42 PST --- (In reply to comment #1) I don't think this is a diagnostic bug, it's a problem where the compiler rewrites the call to: void main() { import std.math; auto f

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

2013-01-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-07 14:59:29 PST --- https://github.com/D-Programming-Language/dmd/pull/1438 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

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

2013-01-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-07 15:13:35 PST --- *** Issue 4845 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---