mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Kotlin: Follow removal of typeVars.kind
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user