Caleb B
12/02/2025, 2:00 AMclass MyClass : MySuperClass() {
private fun <!SETTER_DECL_TARGET_PROPERTY_NOT_VISIBLE!>`set-someProperty`<!>(value: Int) {
someProperty = value.toString()
}
}
Log:
java.lang.IllegalStateException: SETTER_DECL_TARGET_PROPERTY_NOT_VISIBLE: Setter target ''var someProperty: String' defined in 'foo.MySuperClass'' is not visible in this scope. at MyClass.kt:(212,230)
at org.jetbrains.kotlin.test.backend.handlers.NoFirCompilationErrorsHandler.processModule(NoFirCompilationErrorsHandler.kt:54)
Does anyone know what's going on? I'm so close to getting this to work.dmitriy.novozhilov
12/02/2025, 7:42 AMmain it's needed for compiler to compile lib to the bytecode. Which is impossible if there are some compilation errors.Caleb B
12/02/2025, 6:58 PM