[Issue 22356] Can't mixin the return type of a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 4 15:29:07 UTC 2021


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

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

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

--- Comment #1 from Boris Carvajal <boris2.9 at gmail.com> ---
I forgot to report this long time ago.
This simple code didn't work.

mixin("int") x;

The error only happens at declaration level, it works with statements.

--


More information about the Digitalmars-d-bugs mailing list