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 @@ -3660,9 +3660,9 @@ class Traverser(
3660
3660
* Collects entry method statement path for ML. Eliminates duplicated statements, e.g. assignment with invocation
3661
3661
* in right part.
3662
3662
*/
3663
- private fun entryMethodPath (): MutableList <Step > {
3663
+ private fun entryMethodPath (state : ExecutionState ): MutableList <Step > {
3664
3664
val entryPath = mutableListOf<Step >()
3665
- environment. state.fullPath().forEach { step ->
3665
+ state.fullPath().forEach { step ->
3666
3666
// TODO: replace step.stmt in methodUnderAnalysisStmts with step.depth == 0
3667
3667
// when fix SAT-812: [JAVA] Wrong depth when exception thrown
3668
3668
if (step.stmt in methodUnderAnalysisStmts && step.stmt != = entryPath.lastOrNull()?.stmt) {
@@ -3848,7 +3848,7 @@ class Traverser(
3848
3848
stateAfter,
3849
3849
symbolicExecutionResult,
3850
3850
instrumentation,
3851
- entryMethodPath(),
3851
+ entryMethodPath(environment.state ),
3852
3852
state.fullPath()
3853
3853
)
3854
3854
You can’t perform that action at this time.
0 commit comments