Lazarus v2.0.2 and FPC version 3.0.4
I have units base_modul.pas and the_modul.pas, the_modul pas contains a class inherited from the base class in base_modul.pas
Later on, for another project I need a customized modul from the base class, so I write a new the_modul.pas in a sub directory, the name of the sub directory is "custom".
The .lpi file correctly stores the customized modul as below:
<Unit2>
<Filename Value="base_modul.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="FormBaseModul"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit2>
<Unit3>
<Filename Value="custom/the_modul.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="FormModul"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit3>
However, on compiling the IDE still picks up the standard the_modul.pas which resides in the app directory.
Attached is the demo project.
Do I meet a bug or do I miss something?