Fix location of variable access in LHS of assignment

This commit is contained in:
Tamas Vajk
2021-11-30 14:01:10 +01:00
committed by Ian Lynagh
parent 40e4c93615
commit a4275865da
4 changed files with 23 additions and 9 deletions

View File

@@ -1478,7 +1478,7 @@ open class KotlinFileExtractor(
tw.writeStatementEnclosingExpr(id, exprParent.enclosingStmt)
val lhsId = tw.getFreshIdLabel<DbVaraccess>()
tw.writeHasLocation(id, locId)
tw.writeHasLocation(lhsId, locId)
tw.writeCallableEnclosingExpr(lhsId, callable)
when (e) {