Import improvement
Sönke Ludwig
sludwig at outerproduct.org
Tue Oct 16 11:39:21 PDT 2012
Am 10/16/2012 6:55 PM, schrieb Jacob Carlborg:
> On 2012-10-16 16:14, Sönke Ludwig wrote:
>
>> The compiler has to walk the directory structure anyway. If it stops at
>> a directory, it looks for _.d/package.d/... and uses that.
>
> I was more thinking of the developer reading the code.
>
Ah OK, sorry. There is no direct way of course. But assuming that it
semantically makes sense to import a package and because it's necessary
to look at some kind of documentation before importing anything anyway,
I guess that could be a tolerable shortcoming.
More information about the Digitalmars-d
mailing list