Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 19, 2020 [Issue 21058] __traits(getOverloads) forgets "this" with third argument or if first overload is a template | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21058 Richard Manthorpe <rmanth@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|__traits(getOverloads) |__traits(getOverloads) |forgets with with third |forgets "this" with third |argument or if first |argument or if first |overload is a template |overload is a template -- |
July 19, 2020 [Issue 21058] __traits(getOverloads) forgets "this" with third argument or if first overload is a template | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21058 --- Comment #1 from Richard Manthorpe <rmanth@gmail.com> --- Ignore the third assert for struct B, that's kind of unrelated, more similar to https://issues.dlang.org/show_bug.cgi?id=18969 -- |
July 19, 2020 [Issue 21058] __traits(getOverloads) forgets "this" with third argument or if first overload is a template | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21058 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @rmanthorpe created dlang/dmd pull request #11432 "Fix Issue 21058 - __traits(getOverloads) forgets "this" with third ar…" fixing this issue: - Fix Issue 21058 - __traits(getOverloads) forgets "this" with third argument or if first overload is a template https://github.com/dlang/dmd/pull/11432 -- |
July 27, 2020 [Issue 21058] __traits(getOverloads) forgets "this" with third argument or if first overload is a template | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21058 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11432 "Fix Issue 21058 - __traits(getOverloads) forgets "this" with third ar…" was merged into master: - 5d78bf038f3848898f1f184141ab2349025ecaba by Richard Manthorpe: Fix Issue 21058 - __traits(getOverloads) forgets "this" with third argument or if first overload is a template When the target of `getOverloads` is a `dotTemplateDeclaration` we weren't propagating the context to the overloads. Similarly when including templates we weren't propagating the context even if we had one. This fixed both those problems. https://github.com/dlang/dmd/pull/11432 -- |
Copyright © 1999-2021 by the D Language Foundation