Introspecting a package for submodules

Basile B. b2.temp at gmx.com
Tue Aug 25 02:05:17 UTC 2020


On Tuesday, 25 August 2020 at 00:09:38 UTC, Adam D. Ruppe wrote:
> On Monday, 24 August 2020 at 22:32:52 UTC, Anonymouse wrote:
>> How do I do this? (Is there some other way?)
>
> Not really a way. A package doesn't quite exist in D; there is 
> no formal construct that is a package and has a defined list if 
> stuff.

Wrong. Packages and modules exist in D as derived of 
ScopeDsymbol. OP just encounters a small bug.

https://github.com/dlang/dmd/pull/11619


More information about the Digitalmars-d-learn mailing list