mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Extract type access expression for static field access in initializer
This commit is contained in:
@@ -615,6 +615,10 @@ open class KotlinFileExtractor(
|
||||
val vId = useField(f)
|
||||
tw.writeVariableBinding(lhsId, vId)
|
||||
|
||||
if (f.isStatic) {
|
||||
extractStaticTypeAccessQualifier(f, lhsId, declLocId, blockAndFunctionId.second, stmtId)
|
||||
}
|
||||
|
||||
extractExpressionExpr(expr, blockAndFunctionId.second, assignmentId, 1, stmtId)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user