File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
main/kotlin/org/usvm/dataflow/ts/graph
test/kotlin/org/usvm/dataflow/ts/test Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,14 @@ class EtsApplicationGraphImpl(
148
148
lookupClassWithIdealSignature(sig).onSome { c ->
149
149
return sequenceOf(c.ctor)
150
150
}
151
+ } else {
152
+ val resolved = cp.projectAndSdkClasses
153
+ .asSequence()
154
+ .filter { compareClassSignatures(it.signature, sig) != ComparisonResult .NotEqual }
155
+ .singleOrNull()
156
+ if (resolved != null ) {
157
+ return sequenceOf(resolved.ctor)
158
+ }
151
159
}
152
160
}
153
161
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class EtsTypeInferenceTest {
86
86
}
87
87
88
88
val manager = TypeInferenceManager (EtsTraits (), graph)
89
- val result = manager.analyze(entrypoints)
89
+ val result = manager.analyze(entrypoints, doAddKnownTypes = false )
90
90
val types = result.inferredTypes
91
91
92
92
run {
You can’t perform that action at this time.
0 commit comments