[Issue 12068] `enum` as `inout` function parameter isn't enough for `inout` return.
https://issues.dlang.org/show_bug.cgi?id=12068 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED CC|
[Issue 12068] `enum` as `inout` function parameter isn't enough for `inout` return.
https://issues.dlang.org/show_bug.cgi?id=12068 --- Comment #1 from Denis Shelomovskij --- Another testcase: --- enum E { a } auto f(inout(E) val) { return val; } --- main.d(3): Error: variable main.f.val inout variables can only be declared inside inout functions main.d(3): Error: inout on retur