[Issue 1983] Delegates violate const

2022-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Walter Bright changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 1983] Delegates violate const

2022-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 1983] Delegates violate const

2022-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 1983] Delegates violate const

2022-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Walter Bright changed: What|Removed |Added Keywords||safe CC|

[Issue 1983] Delegates violate const

2021-11-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #32 from moonlightsenti...@disroot.org --- *** Issue 11043 has been marked as a duplicate of this issue. *** --

[Issue 1983] Delegates violate const

2021-02-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #31 from Bolpat --- (In reply to timon.gehr from comment #30) > (In reply to Bolpat from comment #28) > > However, I make myself aware that this is an implementation detail and in > > principle, other implementations are possible where

[Issue 1983] Delegates violate const

2021-02-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #30 from timon.g...@gmx.ch --- (In reply to Bolpat from comment #28) > However, I make myself aware that this is an implementation detail and in > principle, other implementations are possible where the context pointer is > not actually

[Issue 1983] Delegates violate const

2021-02-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #29 from ZombineDev --- alias Context = void*; ^ This is where the problem begins and why I think many fail to recognize the type system holes. `void*` is just an implementation detail. It really shouldn't be part of

[Issue 1983] Delegates violate const

2021-02-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #28 from Bolpat --- (In reply to timon.gehr from comment #27) It took me some time to think about and come to something like conclusion. Some parts may look like we [Timon Gehr and me] agree, but I'm not entirely sure we are. My mental

[Issue 1983] Delegates violate const

2021-02-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #27 from timon.g...@gmx.ch --- (In reply to Bolpat from comment #26) > (In reply to timon.gehr from comment #25) > > > It's even hard to pin-point which exact part of the code should be an > > > error. > > > > The problem is that you

[Issue 1983] Delegates violate const

2021-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #26 from Bolpat --- (In reply to timon.gehr from comment #25) > > It's even hard to pin-point which exact part of the code should be an error. > > The problem is that you shouldn't be able to call "dg" in "kaboom", as its > type is

[Issue 1983] Delegates violate const

2021-01-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #25 from timon.g...@gmx.ch --- (In reply to Bolpat from comment #24) > (In reply to anonymous4 from comment #21) > > Nice progress. New test case: > > --- > > struct A > > { > > void delegate() a; > > int b; > > void f(){ a= }

[Issue 1983] Delegates violate const

2021-01-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --- Comment #24 from

[Issue 1983] Delegates violate const

2018-11-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #23 from anonymous4 --- f(()const{}); works, but doesn't enforce const for closure. --

[Issue 1983] Delegates violate const

2018-11-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #22 from

[Issue 1983] Delegates violate const

2018-11-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #21 from anonymous4 --- Nice progress. New test case: --- struct A { void delegate() a; int b; void f(){ a= } void g(){ b++; } int h() const { a(); return b; } } void f(ref const A a) { const int b1=a.h, b2=a.h;

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #20 from Stanislav Blinov --- It was: https://issues.dlang.org/show_bug.cgi?id=16095 --

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com See

[Issue 1983] Delegates violate const

2018-11-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #19 from

[Issue 1983] Delegates violate const

2016-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Sobirari Muhomori changed: What|Removed |Added See Also|

[Issue 1983] Delegates violate const

2016-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Sobirari Muhomori changed: What|Removed |Added CC|

[Issue 1983] Delegates violate const

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com

[Issue 1983] Delegates violate const

2016-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Edwin van Leeuwen changed: What|Removed |Added CC||ed...@tkwsping.nl --

[Issue 1983] Delegates violate const

2015-11-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 --- Comment #16 from Sobirari Muhomori --- Possible fix from issue 9149: disallow access to delegates in const objects. --

[Issue 1983] Delegates violate const

2015-11-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Sobirari Muhomori changed: What|Removed |Added CC|

[Issue 1983] Delegates violate const

2015-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Sobirari Muhomori changed: What|Removed |Added See Also|

[Issue 1983] Delegates violate const

2015-09-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Marc Schütz changed: What|Removed |Added Blocks||15129 --

[Issue 1983] Delegates violate const

2015-02-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||ma...@maxim-fomin.ru ---

[Issue 1983] Delegates violate const

2014-04-15 Thread d-bugmail
https://issues.dlang.org/show_bug.cgi?id=1983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||thelastmamm...@gmail.com ---

[Issue 1983] Delegates violate const

2013-07-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||zan77...@nifty.com

[Issue 1983] Delegates violate const

2013-06-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #9

[Issue 1983] Delegates violate const

2013-06-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1983 David Nadlinger c...@klickverbot.at changed: What|Removed |Added CC|

[Issue 1983] Delegates violate const

2013-06-04 Thread d-bugmail
/977947e7329d5b5c10242a0efb58c85697283e98 Merge pull request #1331 from 9rnsr/fix1983 Supplemental change for Issue 1983 - Delegates violate const -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 1983] Delegates violate const

2012-01-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1983 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords|patch | Platform|x86