Comment #0 by qs.il.paperinik — 2023-02-21T10:54:02Z
Code controlled by `version(debug)` is compiled in when the `-debug` flag is passed to the compiler.
Although `debug` is conditional compilation on its own, it also allows statements that would otherwise not be allowed, e.g. impure statements in `pure` functions, and `version(debug)` would have no special exceptions like that.
Comment #1 by razvan.nitu1305 — 2023-02-21T11:00:50Z
Is there a use case that this would support that is not possible with the existing semantics? I have a hard time finding the usefulness of this addition.
Comment #2 by razvan.nitu1305 — 2023-02-21T16:53:25Z
Closing as WONTFIX. Please reopen if you can provide a compelling use case.