[Issue 17351] Static const array can't be evaluated at compile time when passed as ref argument
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Apr 28 12:17:01 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17351
uplink.coder at googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |uplink.coder at googlemail.com
Resolution|--- |INVALID
--- Comment #2 from uplink.coder at googlemail.com ---
This code demands an Lvalue to be used at ctfe.
remove the ref from fun and it will work.
We cannot allow the ref-fun to compile.
--
More information about the Digitalmars-d-bugs
mailing list