[Issue 21740] Typeof mixin regression with v2.096
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 21 16:56:15 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21740
--- Comment #5 from moonlightsentinel at disroot.org ---
(In reply to Boris Carvajal from comment #4)
> Regression?
>
> I would call it 'progression', the behavior is totally more consistent now.
>
> ---
> pragma(msg, typeof(mixin(foo())));
> ---
So the behaviour of this snippet now depends on the return type of foo AFAICT
(CTFE vs. implicit .stringof). Doesn't seem consistent to me.
--
More information about the Digitalmars-d-bugs
mailing list