https://issues.dlang.org/show_bug.cgi?id=17526
Stanislav Blinov <stanislav.bli...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stanislav.bli...@gmail.com --- Comment #8 from Stanislav Blinov <stanislav.bli...@gmail.com> --- This issue probably needs to be repurposed: since https://github.com/dlang/druntime/commit/0c92d13c7f8540bd91c3cce251d97ff39b84a486 (present in 2.082) there is now a require() function that should be able to achieve the desired behavior, but it's implementation at the moment does not account for const value type. --