Skip to content

Commit 620d4ae

Browse files
committed
Add todo for "after contest"
1 parent ef604dd commit 620d4ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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
@@ -1114,6 +1114,7 @@ open class CgMethodConstructor(val context: CgContext) : CgContextOwner by conte
11141114
// Can directly access field only if it is declared in variable class (or in its ancestors)
11151115
// and is accessible from current package
11161116
if (variable.type.hasField(this)
1117+
//TODO: think about moving variable type checks into [isAccessibleFrom] after contest
11171118
&& (!isPackagePrivate || variable.type.packageName == context.testClassPackageName)
11181119
&& canBeReadFrom(context)
11191120
) {

0 commit comments

Comments
 (0)