[Issue 20138] is expression not evaluating correctly?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 18 08:29:32 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20138
--- Comment #1 from Manu <turkeyman at gmail.com> ---
alias X = shared int;
pragma(msg, X, " ", is(X == shared U, U), " ", U));
> shared(int) true int
alias X = shared inout int;
pragma(msg, X, " ", is(X == shared U, U), " ", U));
> shared(inout(int)) false Error: undefined identifier `U`
--
More information about the Digitalmars-d-bugs
mailing list