You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utbot-python/src/main/kotlin/org/utbot/python/framework/codegen/model/constructor/tree/PythonCgVariableConstructor.kt
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ class PythonCgVariableConstructor(context_: CgContext) : CgVariableConstructor(c
96
96
}
97
97
98
98
val initArgs = objectNode.args.map {
99
-
pythonBuildObject2(it)
99
+
getOrCreateVariable(PythonTreeModel(it, it.type))
100
100
}
101
101
valconstructor=ConstructorId(
102
102
objectNode.constructor,
@@ -111,16 +111,14 @@ class PythonCgVariableConstructor(context_: CgContext) : CgVariableConstructor(c
0 commit comments