https://issues.dlang.org/show_bug.cgi?id=13063
Denis Shelomovskij <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|`enum` is allowed as |`enum` is allowed as |function return type |storage class for functions |attribute | --- Comment #1 from Denis Shelomovskij <[email protected]> --- Also note this syntax is already used by mistake [1] probably because of recent compiler changes rejecting meaningless `const`/`immutable` attributes. Also this currently compiles too because of Issue 13064: --- auto enum void f(); --- [1] https://github.com/andersonpd/eris/commit/85637587c8f154a3d50360e66a29f08c5586d1b3 --
