[Issue 9149] Disallow calling const delegates with a mutable context

2024-01-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9149 Walter Bright changed: What|Removed |Added Keywords||safe CC|

[Issue 9149] Disallow calling const delegates with a mutable context

2024-01-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9149 --- Comment #16 from timon.g...@gmx.ch --- (In reply to timon.gehr from comment #11) > > The fix I originally proposed in the first post removes the unsoundness in > the const system, but it is ugly. It means the line "const x = y;" fails if > y is a

[Issue 9149] Disallow calling const delegates with a mutable context

2024-01-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9149 timon.g...@gmx.ch changed: What|Removed |Added Summary|Disallow converting |Disallow calling const |