mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Fix location of variable access in LHS of assignment
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user