[Issue 15985] [REG2.068/2.069] Code doesn't link unless compiled with -debug
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 29 19:41:34 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=15985
--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Walter Bright from comment #6)
>
> Here's what I suspect is going on with this. Let's follow the semantic
> analsysis:
>
DMD's default behaviour is to eagerly prune templates it expects to be
instantiated elsewhere. Undefined references are expected as a default
behaviour.
If undefined errors still persist with -allinst, then that's a bug that needs
fixing.
--
More information about the Digitalmars-d-bugs
mailing list