Kotlin: Follow removal of typeVars.kind

This commit is contained in:
Ian Lynagh
2024-09-12 15:44:14 +01:00
parent c5569cf5ad
commit b1f5f9a5cd

View File

@@ -325,7 +325,7 @@ open class KotlinFileExtractor(
// parameter S of
// `class Generic<T> { public <S> Generic(T t, S s) { ... } }` will have `tp.index` 1,
// not 0).
tw.writeTypeVars(id, tp.name.asString(), apparentIndex, 0, parentId)
tw.writeTypeVars(id, tp.name.asString(), apparentIndex, parentId)
val locId = tw.getLocation(tp)
tw.writeHasLocation(id, locId)