Re: inconsistent behavior with implicit imports

2012-09-09 Thread timotheecour
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

Re: inconsistent behavior with implicit imports

2012-09-09 Thread Timon Gehr
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

Re: inconsistent behavior with implicit imports

2012-09-09 Thread Jonathan M Davis
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)); > } > > =