[Issue 21740] Typeof mixin regression with v2.096

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 21 16:59:16 UTC 2021


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

--- Comment #6 from moonlightsentinel at disroot.org ---
Assume pragma(msg, typeof(mixin(foo())));

void foo() {}
=> void

string foo() { return "foo"; }
=> string() // function type

--


More information about the Digitalmars-d-bugs mailing list