ModuleInfo, Object.localClasses(), and Object.find() - any users?
Walter Bright
newshound2 at digitalmars.com
Mon Feb 13 00:36:30 UTC 2023
On 2/12/2023 6:44 AM, Puneet Goel wrote:
> I have trodden the path of mixin templates. I believe the only way to register
> classes for a factory mechanism is to involve "static this" constructors.
>
> For any non-trivial code it gets me to unresolvable circular dependencies in the
> modules. I request the developers not to rush with deprecating Object.factory
> until a mechanism is developed to creak circular dependencies with modules. I
> see some discussion on the following thread which may be related to what I am
> trying to say.
>
> https://forum.dlang.org/post/mailman.1221.1513724189.9493.digitalmars-d@puremagic.com
Your wish is my command:
https://github.com/dlang/dmd/pull/14699
More information about the Digitalmars-d
mailing list