[Issue 16468] __traits(compiles, ...) doesn't work for super, always evaluates false
https://issues.dlang.org/show_bug.cgi?id=16468 bitter.ta...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bitter.ta...@gmx.com Resolution|--- |DUPLICATE --- Comment #3 from bitter.ta...@gmx.com --- *** This issue has been marked as a duplicate of issue 15428 *** --
[Issue 16468] __traits(compiles, ...) doesn't work for super, always evaluates false
https://issues.dlang.org/show_bug.cgi?id=16468 --- Comment #2 from Sophie--- Oh, that second error illuminated the first. I was able to get the pragma to output the correct flag by rewriting as `pragma(msg, __traits(compiles, super(x)));` but now I'm just hitting the same error as here https://issues.dlang.org/show_bug.cgi?id=15428 --
[Issue 16468] __traits(compiles, ...) doesn't work for super, always evaluates false
https://issues.dlang.org/show_bug.cgi?id=16468 --- Comment #1 from Sophie--- I thought to use typeof({super(x);}) as a workaround but this generates a compilation error "Super class constructor call must be in a constructor" --
[Issue 16468] __traits(compiles, ...) doesn't work for super, always evaluates false
https://issues.dlang.org/show_bug.cgi?id=16468 Sophiechanged: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=15428 --