Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 15, 2019 [Issue 20054] getSymbolsByUDA no longer works on modules | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20054 Simen Kjaeraas <simen.kjaras@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simen.kjaras@gmail.com --- Comment #1 from Simen Kjaeraas <simen.kjaras@gmail.com> --- The fix implemented for issue 19105 is just plain wrong, as the issue isn't fixed: import std.traits; struct A(Args...) {} struct S1 { // Recursive template expansion alias C = A!( getSymbolsByUDA!(S1, A) ); } struct S2 { // precompute the result: alias tmp = getSymbolsByUDA!(S2, A); // No recursive template expansion alias C = A!( getSymbolsByUDA!(S2, A) ); } Reduced test case: template test(alias T) { enum i = __traits(compiles, __traits(getMember, T, "C")); alias test = int; } struct A(Args...) {} struct S1 { // Recursive template expansion alias C = A!(test!S1); } struct S2 { // No error alias a = test!S2; alias C = A!(test!S2); } -- |
August 29, 2019 [Issue 20054] getSymbolsByUDA no longer works on modules | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20054 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @Biotronic updated dlang/phobos pull request #7158 "Revert "Fix Issue 19105 - Bogus recursive template expansion via getS…" fixing this issue: - Fix issue 20054 - getSymbolsByUDA no longer works on modules https://github.com/dlang/phobos/pull/7158 -- |
September 01, 2019 [Issue 20054] getSymbolsByUDA no longer works on modules | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20054 Simen Kjaeraas <simen.kjaras@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |elpenguino+D@gmail.com --- Comment #3 from Simen Kjaeraas <simen.kjaras@gmail.com> --- *** Issue 20188 has been marked as a duplicate of this issue. *** -- |
December 01, 2019 [Issue 20054] getSymbolsByUDA no longer works on modules | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20054 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7158 "Revert "Fix Issue 19105 - Bogus recursive template expansion via getS…" was merged into stable: - 2a2018cf34e8b410f40be53c6068b84121888af7 by Simen Kjærås: Fix issue 20054 - getSymbolsByUDA no longer works on modules https://github.com/dlang/phobos/pull/7158 -- |
Copyright © 1999-2021 by the D Language Foundation