https://issues.dlang.org/show_bug.cgi?id=22309
Dennis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Hardware|x86_64 |All Resolution|--- |FIXED OS|Linux |All --- Comment #2 from Dennis <[email protected]> --- As mentioned in the Pull Request discussion, this has to be covered by dip1000. As of https://github.com/dlang/dmd/pull/13672, the code is rejected with -preview=dip1000: ``` test_.d(4): Error: reference to local variable `this` assigned to non-scope parameter `foo` calling test_.Bar.this test_.d(21): Error: reference to local variable `foo` assigned to non-scope parameter `foo` calling test_.Bar.this ``` --
