Skip to content

Commit 38bf5fd

Browse files
committed
Add additional filtering
1 parent 1ba23f0 commit 38bf5fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgMethodConstructor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,7 @@ open class CgMethodConstructor(val context: CgContext) : CgContextOwner by conte
13651365
val statics = currentExecution!!.stateBefore
13661366
.statics
13671367
.filterNot { it.value is UtEnumConstantModel }
1368+
.filterNot { it.value.classId.outerClass?.isEnum == true }
13681369

13691370
rememberInitialStaticFields(statics)
13701371
val stateAnalyzer = ExecutionStateAnalyzer(execution)

0 commit comments

Comments
 (0)