[Issue 3572] declaring pure function with void return type should be compile time error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 25 09:00:37 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=3572
--- Comment #10 from Michal Minich <michal.minich at gmail.com> ---
Agreed. even
pure void nothrow never() { assert(false); }
can throw Error, which is observable effect.
--
More information about the Digitalmars-d-bugs
mailing list