[Issue 15145] Array initializers for SIMD not working inside functions.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 25 02:24:58 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15145
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
It looks like CTFE is evaluating it, and hence can determine the array
dimensions so it can be converted. For the runtime evaluation, the array
dimension is not available.
Not sure what to do about this - D isn't supposed to speculatively attempt to
CTFE expressions meant to be evaluated at runtime.
--
More information about the Digitalmars-d-bugs
mailing list