On Wed, 7 Mar 2018 16:27:37 +0100, Sönke Ludwig wrote:

Am 07.03.2018 um 13:05 schrieb Timoses:
[...]
The dependency above must be "test:dep2": {"path": ".."}, because a
sub package, apart from inheriting the prefix from its parent package,
behaves just like a normal package. In particular, when building from
the sub package directory, there is no knowledge about the parent package.

It may make sense to make some improvements in this area, though.

Ah, thank you for the explanation.

I used the vibe-d project as a reference. I suppose the subpackages there know the parent/other subpackages as they are accessible via the code mirror online.