We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37b176b commit b6cd8e3Copy full SHA for b6cd8e3
1 file changed
usvm-ts/src/main/kotlin/org/usvm/machine/expr/CallStatic.kt
@@ -43,10 +43,11 @@ internal fun TsExprResolver.handleStaticCall(
43
is NoApproximation -> {}
44
}
45
46
+ // Resolve the static method.
47
when (val resolved = resolveStaticMethod(expr.callee)) {
48
is TsResolutionResult.Empty -> {
49
logger.error { "Could not resolve static call: ${expr.callee}" }
- scope.assert(falseExpr)
50
+ scope.assert(falseExpr) ?: return null
51
52
53
is TsResolutionResult.Ambiguous -> {
@@ -58,6 +59,7 @@ internal fun TsExprResolver.handleStaticCall(
58
59
60
61
62
+ // Return null to indicate that we are awaiting the call to be executed.
63
null
64
65
0 commit comments