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

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