[Issue 6269] aliasing in IsExpression doesn't work when used inside a template constraint

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 21 13:08:43 UTC 2019


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #3 from Basile-z <b2.temp at gmx.com> ---
This not convenient to do because when the IsExpr is evaluated the scope that's
provided is not the one for the function/aggregate body but the one of the
parent. In the examples this matches to the global scope. But otherwise that's
a good idea.

--


More information about the Digitalmars-d-bugs mailing list