[Issue 20388] Parse error when compiling lambdas in mixins as template parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 18 04:44:09 UTC 2019


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

Boris Carvajal <boris2.9 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris2.9 at gmail.com

--- Comment #4 from Boris Carvajal <boris2.9 at gmail.com> ---
Something as simple as this fails now:

foo!(mixin("1+1"))();

In this context the old behavior of parsing mixin as an expression should be
restored (it worked from 2.063 according to run.dlang.io).

Another bug needs to be open to allow the new "mixin type" here, if it's ever
possible.

--


More information about the Digitalmars-d-bugs mailing list