Relative imports and separate compilation

Atila Neves atila.neves at gmail.com
Tue Sep 3 01:25:08 PDT 2013


I wouldn't mind so much if just "regularly" compiling, just do 
each file in turn. The problem is this how rdmd calls dmd and 
then things don't work as they should.


On Saturday, 31 August 2013 at 12:06:00 UTC, Dicebot wrote:
> On Saturday, 31 August 2013 at 09:29:16 UTC, Atila Neves wrote:
>> How to relative imports actually work?
>>
>> Atila
>
> Actually for me it looks like it is a bug in automatic module 
> name deduction. It should always use full qualified name built 
> from directory path from closest import folder (set by -I , 
> current working directory by default) to actual module file. So 
> behavior observed in separate compilation case is correct one - 
> don't know what actually happens in second case.



More information about the Digitalmars-d-learn mailing list