[Issue 23104] case where use of mixin() is rejected but use of the mixin content as code is not

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 12 09:18:11 UTC 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |accepts-invalid
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
also the version that compiles should not

   alias _ = printMembers!(mixin(getMember), m);

but printMembers takes only one template type parameter

--


More information about the Digitalmars-d-bugs mailing list