File tree Expand file tree Collapse file tree
usvm-ts/src/main/kotlin/org/usvm/machine/expr Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import org.jacodb.ets.model.EtsBitOrExpr
1515import org.jacodb.ets.model.EtsBitXorExpr
1616import org.jacodb.ets.model.EtsBooleanConstant
1717import org.jacodb.ets.model.EtsCastExpr
18+ import org.jacodb.ets.model.EtsClassSignature
1819import org.jacodb.ets.model.EtsClassType
1920import org.jacodb.ets.model.EtsConstant
2021import org.jacodb.ets.model.EtsDeleteExpr
@@ -632,7 +633,7 @@ class TsExprResolver(
632633 ): UExpr <out USort >? = with (ctx) {
633634 val resolvedAddr = if (instanceRef.isFakeObject()) instanceRef.extractRef(scope) else instanceRef
634635 scope.doWithState {
635- pathConstraints + = if (field.type.isResolved() ) {
636+ pathConstraints + = if (field.enclosingClass != EtsClassSignature . UNKNOWN ) {
636637 // If we know an enclosing class of the field,
637638 // we can add a type constraint about the instance type.
638639 // Probably, it's redundant since either both class and field
You can’t perform that action at this time.
0 commit comments