[Issue 23073] [dip1000] scope inference from pure doesn't consider self-assignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 16 01:01:59 UTC 2022


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

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
I.e.:

test3.d(17): Error: scope variable `c` assigned to non-scope parameter `c`
calling `assignNext`

(Although calling both variables `c` makes the error message a bit confusing.)

--


More information about the Digitalmars-d-bugs mailing list