[Issue 12022] Spurious "recursive alias declaration" with lambdas as template parameters

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 22 22:46:35 PDT 2015


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

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

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

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Vladimir Panteleev from comment #0)
> The recursive alias semantic is triggered by Expression::checkPurity (which
> calls getFuncTemplateDecl -> toAlias).

It's fixed from 2.066, by the commit:

https://github.com/D-Programming-Language/dmd/commit/33f2ab82bd9fb51d88927b8048d88c30ea44111e

--


More information about the Digitalmars-d-bugs mailing list