[Issue 13294] [IFTI] IFTI fails or works incorrectly for function with const and mutable `ref` parameters of most types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 15 06:16:59 PDT 2014


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

--- Comment #3 from Denis Shelomovskij <verylonglogin.reg at gmail.com> ---
(In reply to Denis Shelomovskij from comment #2)
> (In reply to Denis Shelomovskij from comment #1)
> > For most other types `const` is incorrectly added.
> 
> And because of CTFE issue 13295 all modifications of such variables disappear,
> thus in worst case causing nasty wrong-code bugs.

But as some modifications disappear anyway (because of issue 13297) and thus
one can't reliably use `ref` in CTFE it's probably isn't that big problem.

--


More information about the Digitalmars-d-bugs mailing list