[Issue 19731] auto struct methods whose address is taken don't test invariants

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 12 14:36:12 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19731

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
The combination of return type inference and taking the address forces DMD to
run semantic3 where invariants are not yet available, and there's no way to say
"we want to rerun semantic3 later, this is just a throwaway run".

--


More information about the Digitalmars-d-bugs mailing list