As far I can see, it only allows absolute path import (root is at entry point).
For example:
main/
lib/
lib/unit
lib/unit/order
lib/unit/order/castYamatoGun
lib/unit/order/castPlague
When we wanna import from castYamatoGun into castPlague, we still needs to:
import lib.unit.order.castYamatoGun
// then castYamatoGun.methodX(...)
while they are in the same folder, why don't we allow:
instead?
As far I can see, it only allows absolute path import (root is at entry point).
For example:
When we wanna import from
castYamatoGunintocastPlague, we still needs to:while they are in the same folder, why don't we allow:
instead?