[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 --- Comment #2 from Mike --- Possibly the same as Issue 13372 --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 Mike changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=13372 --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 --- Comment #3 from Mike --- A better example: module test; import std.stdio; final abstract class T1 { final abstract class C(uint value) { static uint getValue() { return value; } } alias Child = C!2; } final abstract class T2 { final abstract class Child { static uint getValue() { return 2; } } } void main() { writeln(__traits(parent, T1.Child).stringof); // this should be T1 writeln(__traits(parent, T2.Child).stringof); // this should be, and is, T2 } --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 --- Comment #4 from Mike --- Potential fix here: https://github.com/dlang/dmd/pull/7097 --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b74bb167d2bd49d47d01f0f19277b5441ade3afc Fix Issue 12496: __traits(parent, x) returns incorrect symbol https://github.com/dlang/dmd/commit/d94a080030193fb0514bc512265e18dfe4d973f0 Merge pull request #7097 from JinShil/fix_12496 Fix Issue 12496: __traits(parent, x) returns incorrect symbol merged-on-behalf-of: Mike --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 12496] __traits(parent, x) returns incorrect type
https://issues.dlang.org/show_bug.cgi?id=12496 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b74bb167d2bd49d47d01f0f19277b5441ade3afc Fix Issue 12496: __traits(parent, x) returns incorrect symbol https://github.com/dlang/dmd/commit/d94a080030193fb0514bc512265e18dfe4d973f0 Merge pull request #7097 from JinShil/fix_12496 --
[Issue 12496] __traits(parent, x) returns incorrect type
https://d.puremagic.com/issues/show_bug.cgi?id=12496 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic 2014-03-31 14:08:20 CEST --- Seems similar to a bug Vladimir filed recently. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---