File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3547,9 +3547,9 @@ class Traverser(
3547
3547
* Collects entry method statement path for ML. Eliminates duplicated statements, e.g. assignment with invocation
3548
3548
* in right part.
3549
3549
*/
3550
- private fun entryMethodPath (): MutableList <Step > {
3550
+ private fun entryMethodPath (state : ExecutionState ): MutableList <Step > {
3551
3551
val entryPath = mutableListOf<Step >()
3552
- environment. state.fullPath().forEach { step ->
3552
+ state.fullPath().forEach { step ->
3553
3553
// TODO: replace step.stmt in methodUnderAnalysisStmts with step.depth == 0
3554
3554
// when fix SAT-812: [JAVA] Wrong depth when exception thrown
3555
3555
if (step.stmt in methodUnderAnalysisStmts && step.stmt != = entryPath.lastOrNull()?.stmt) {
@@ -3735,7 +3735,7 @@ class Traverser(
3735
3735
stateAfter,
3736
3736
symbolicExecutionResult,
3737
3737
instrumentation,
3738
- entryMethodPath(),
3738
+ entryMethodPath(environment.state ),
3739
3739
state.fullPath()
3740
3740
)
3741
3741
You can’t perform that action at this time.
0 commit comments