[Issue 24021] Issue a warning on assert with side effects

2023-06-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 Basile-z changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Issue 24021] Issue a warning on assert with side effects

2023-06-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 --- Comment #7 from Grim Maple --- With all due respect, this isn't a _duplicate_ of 12028. I'm not proposing to disallow side effects, I'm proposing to notify user that their code was not compiled. I think this warning should be issued in release

[Issue 24021] Issue a warning on assert with side effects

2023-06-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 Basile-z changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 24021] Issue a warning on assert with side effects

2023-06-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 Tim changed: What|Removed |Added CC||tim.dl...@t-online.de --- Comment #5 from Tim ---

[Issue 24021] Issue a warning on assert with side effects

2023-06-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 mhh changed: What|Removed |Added CC||maxha...@gmail.com --- Comment #4 from mhh ---

[Issue 24021] Issue a warning on assert with side effects

2023-06-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #3 from Nick

[Issue 24021] Issue a warning on assert with side effects

2023-06-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 --- Comment #2 from RazvanN --- This could be implemented by a third party tool using dmd as a library. But I don't think it should be implemented in the compiler. --

[Issue 24021] Issue a warning on assert with side effects

2023-06-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24021 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from