[Issue 14833] [REG2.065] Nested delegates problem

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 1 02:50:59 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

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

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list