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

Kenji Hara <[email protected]> changed:

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

--- Comment #2 from Kenji Hara <[email protected]> ---
(In reply to Vladimir Panteleev from comment #1)
> This seems to be a regression.
> 
> Introduced in https://github.com/D-Programming-Language/dmd/pull/2851

The root issue was incomplete compiler implementation for context inference,
which is same with the root of issue 14973, and it has been properly fixed in
2.068.1-b2.

---

OT: Why this issue and issue 14973 had introduced in different versions?

The root issue was hidden until 2.065, by other bug in template instantiation
order.

The instantiation bug had partially fixed by PR 2851 in 2.065, and then
completely fixed in 2.068.0 by PR 4464.

By the partial fix in 2.065, the case code in this issue had been changed to
fail to compile. And then, by the complete fix in 2.068.0, the case in issue
14973 had been changed to fail to compile.

--

Reply via email to