This is a quirk of DMD, not a language feature.
You can file the implicit import behaviour as a bug.
done:
http://d.puremagic.com/issues/show_bug.cgi?id=8636
On 09/10/2012 01:47 AM, timotheecour wrote:
This works:
import std.stdio;
void main(){
writeln(std.conv.to!double(1));
}
This doesn't compile:
import std.stdio;
void main(){
std.stdio.writeln(std.conv.to!double(1));
}
=>Error: undefined identifier std
So it seems f
On Monday, September 10, 2012 01:47:35 timotheecour wrote:
> This works:
>
> import std.stdio;
> void main(){
> writeln(std.conv.to!double(1));
> }
>
>
> This doesn't compile:
>
> import std.stdio;
> void main(){
> std.stdio.writeln(std.conv.to!double(1));
> }
>
> =