Merge pull request #19714 from hvitved/rust/fix-bad-join

Rust: Fix bad join
This commit is contained in:
Tom Hvitved
2025-06-11 09:08:52 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ module Impl {
override string toAbbreviatedString() { result = "<...>" }
/** Gets the `i`th type argument of this list. */
pragma[nomagic]
TypeRepr getTypeArg(int i) {
result =
rank[i + 1](TypeRepr res, int j |

View File

@@ -130,6 +130,7 @@ class PathTypeReprMention extends TypeMention instanceof PathTypeRepr {
* Holds if this path resolved to a type alias with a rhs. that has the
* resulting type at `typePath`.
*/
pragma[nomagic]
Type aliasResolveTypeAt(TypePath typePath) {
exists(TypeAlias alias, TypeMention rhs | alias = resolved and rhs = alias.getTypeRepr() |
result = rhs.resolveTypeAt(typePath) and