We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef604dd commit 620d4aeCopy full SHA for 620d4ae
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgMethodConstructor.kt
@@ -1114,6 +1114,7 @@ open class CgMethodConstructor(val context: CgContext) : CgContextOwner by conte
1114
// Can directly access field only if it is declared in variable class (or in its ancestors)
1115
// and is accessible from current package
1116
if (variable.type.hasField(this)
1117
+ //TODO: think about moving variable type checks into [isAccessibleFrom] after contest
1118
&& (!isPackagePrivate || variable.type.packageName == context.testClassPackageName)
1119
&& canBeReadFrom(context)
1120
) {
0 commit comments