[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2022-11-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2022-08-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #13 from Walter Bright --- I'm not sure why this was reopened. --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-08-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added Keywords||betterC Status|RESOLVED

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #11 from anonymous4 --- (In reply to Mathias Lang from comment #9) > So I strongly oppose gratuitous breakage of code (breakage with does not > come with a deprecation) You want usage of `scope` storage class be

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #10 from anonymous4 --- (In reply to Mathias Lang from comment #9) > The web can get wide > pretty quickly, and suddenly your user is stuck in a situation where he has > to spend an unreasonable amount of time

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #9 from Mathias Lang --- @anonymous4: For starter, DIP1000 fixes only apply to @safe function ATM. While it's a decision I don't agree with personally, it's the path that was chosen and changing it would

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #8 from anonymous4 --- Anyway, if `in` loses scope semantics, it will break @nogc code like in the example above, you can't eliminate breakage completely here. --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #7 from anonymous4 --- Clarify how breaking invalid code is gratuitous. If the code is correct it won't be broken. --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 Mathias Lang changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added Keywords|safe|

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/4b93ddef41508453c6e83b11e62f97ae870c8c98 fix Issue 16037 - assigning delegate to a scope variable

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 Carsten Blüggel changed: What|Removed |Added CC||chi...@posteo.net --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-03-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 --- Comment #3 from Walter Bright --- https://github.com/dlang/dmd/pull/7981 --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-01-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added Keywords||safe --

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-01-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added Keywords|safe|performance