https://kotlinlang.org logo
#android
Title
# android
p

pp.amorim

03/15/2024, 12:18 AM
I am getting this error and I can’t find why as the report is cryptographic, luckly I can restore it. I tried to find solutions everywhere (stackoverflow and more)
Copy code
e: java.lang.AssertionError: Unbound symbols not allowed

Unbound private symbol IrSimpleFunctionSymbolImpl: invisible_fake final fun `<set-view>`(`<set-?>`: T?): kotlin.Unit defined in ...CoroutinePresenter.Impl[PropertySetterDescriptorImpl@506d6705]
	at org.jetbrains.kotlin.ir.util.SymbolTableKt.noUnboundLeft(SymbolTable.kt:1141)
	at org.jetbrains.kotlin.psi2ir.Psi2IrTranslator.generateModuleFragment(Psi2IrTranslator.kt:96)
	at org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory.convertToIr(JvmIrCodegenFactory.kt:194)
	at org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory.convertToIr(JvmIrCodegenFactory.kt:53)
    ....
noUnboundLeft
is odd.
I found the issue, I had a:
Copy code
var view: T? = null
  private set
in the code, after removing the
private set
it’s working now.
but it was compiling before, which is totally odd
c

Chrimaeon

03/15/2024, 9:07 AM
What does that have to do with #android. Better to post this in #compiler
p

pp.amorim

03/15/2024, 10:07 AM
Because I throught it was something related with the XML resource