[Issue 15903] module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 9 13:32:13 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15903
--- Comment #3 from Timothee Cour <timothee.cour2 at gmail.com> ---
slightly different scenario but could be same root cause, with a minimal test
case:
$dmd_071_X -o- -c D20160409T132716/main.d
Deprecation: module std.conv is not accessible here, perhaps add 'static import
std.conv;'
----
module D20160409T132716.main;
import D20160409T132716.test;
void fun(){
auto b=std.conv.to!string(0);
}
----
module D20160409T132716.test;
public static import std.conv;
----
--
More information about the Digitalmars-d-bugs
mailing list