[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
Thu Aug 13 02:17:27 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=17351

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11545 "Fix 17351 - Manifest constants can't sometimes
be passed by `ref` in CTFE" was merged into stable:

- ecf2ce2f54fc86e2f075815235ddd0a3425eb8ef by Geod24:
  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