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 @@ -3572,9 +3572,9 @@ class Traverser(
3572
3572
* Collects entry method statement path for ML. Eliminates duplicated statements, e.g. assignment with invocation
3573
3573
* in right part.
3574
3574
*/
3575
- private fun entryMethodPath (): MutableList <Step > {
3575
+ private fun entryMethodPath (state : ExecutionState ): MutableList <Step > {
3576
3576
val entryPath = mutableListOf<Step >()
3577
- environment. state.fullPath().forEach { step ->
3577
+ state.fullPath().forEach { step ->
3578
3578
// TODO: replace step.stmt in methodUnderAnalysisStmts with step.depth == 0
3579
3579
// when fix SAT-812: [JAVA] Wrong depth when exception thrown
3580
3580
if (step.stmt in methodUnderAnalysisStmts && step.stmt != = entryPath.lastOrNull()?.stmt) {
@@ -3760,7 +3760,7 @@ class Traverser(
3760
3760
stateAfter,
3761
3761
symbolicExecutionResult,
3762
3762
instrumentation,
3763
- entryMethodPath(),
3763
+ entryMethodPath(environment.state ),
3764
3764
state.fullPath()
3765
3765
)
3766
3766
You can’t perform that action at this time.
0 commit comments