Change location of properties inside parameterized types

This commit is contained in:
Tamas Vajk
2022-03-24 17:28:35 +01:00
committed by Ian Lynagh
parent 0726b6410f
commit bfcd553c6c
3 changed files with 11 additions and 1 deletions

View File

@@ -745,7 +745,7 @@ open class KotlinFileExtractor(
DeclarationStackAdjuster(p).use {
val id = useProperty(p, parentId)
val locId = tw.getLocation(p)
val locId = getLocation(p, classTypeArgs)
tw.writeKtProperties(id, p.name.asString())
tw.writeHasLocation(id, locId)