[Issue 17351] Static const array can't be evaluated at compile time when passed as ref argument
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 10 10:34:09 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=17351
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #11 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 created dlang/dmd pull request #11545 "Fix 17351 - Manifest constants
can't sometimes be passed by `ref` in CTFE" fixing this issue:
- Fix 17351 - Manifest constants can't sometimes be passed by `ref` in CTFE
As mentioned in the comment, the fix is crude but works well.
https://github.com/dlang/dmd/pull/11545
--
More information about the Digitalmars-d-bugs
mailing list