[Issue 21740] Typeof mixin regression with v2.096

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 21 19:18:57 UTC 2021


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

--- Comment #9 from kinke <kinke at gmx.net> ---
No idea what the spec says, but I expected `mixin(foo())`, i.e., `mixin(void)`
to fail, and only string expressions to be allowed - `mixin("1 + 2")`,
`mixin(q{1 + 2})` and `mixin((() => "1")() ~ " + " ~ 2.stringof)`.

--


More information about the Digitalmars-d-bugs mailing list