[Issue 17764] [scope][DIP1000] Escape checker defeated by composition transformations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 12 07:02:37 UTC 2022


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #8 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to ag0aep6g from comment #4)
>     global = c[0].str; /* This should be rejected. */

And it is now in master:

Error: scope variable `c` assigned to non-scope `global`

--


More information about the Digitalmars-d-bugs mailing list