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

Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |major

--- Comment #2 from Kenji Hara <[email protected]> ---
This is a problem in the implementation of instance cache. None of old versions
did support it.

(In reply to Vladimir Panteleev from comment #1)
> This appears to be a regression.
> 
> Introduced by https://github.com/D-Programming-Language/dmd/pull/544

No, before that PR, there's no attribute inference for template functions, so
foo!T() didn't see the hasElaborateAssign!T instantiation in its body.

Change to major.

--

Reply via email to