[Issue 22270] [DIP1000] class does infer scope in methods when assigned to a scope variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 3 18:52:29 UTC 2021


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

--- Comment #5 from João Lourenço <jlourenco5691 at gmail.com> ---
Shouldn't scope with struct instances behave the same way as a normal
instantiation though? The example above works if I don't instantiate with
scope.

--


More information about the Digitalmars-d-bugs mailing list