Skip to content

Commit

Permalink
KSP1: fix KSTypeArgument.parent
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-yuan committed Jan 27, 2025
1 parent 6930fa7 commit 0dfb6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class KSClassifierReferenceDescriptorImpl private constructor(
}

override val typeArguments: List<KSTypeArgument> by lazy {
arguments.map { KSTypeArgumentDescriptorImpl.getCached(it, origin, this.parent) }
arguments.map { KSTypeArgumentDescriptorImpl.getCached(it, origin, this) }
}

override fun referencedName(): String {
Expand Down
2 changes: 1 addition & 1 deletion test-utils/testData/api/equivalentJavaWildcards.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
// - - INVARIANT X : X -> X
// - - COVARIANT Y : Y -> Y
// p8.getter() : B<A<X, out Y>> -> B<A<X, Y>>
// - INVARIANT A<X, out Y> : A<X, out Y> -> A<in X, Y>
// - INVARIANT A<X, out Y> : A<X, out Y> -> A<X, Y>
// - - INVARIANT X : X -> X
// - - COVARIANT Y : Y -> Y
// v1 : A<X, X> -> A<in X, out X>
Expand Down

0 comments on commit 0dfb6de

Please sign in to comment.