It might be a bug in the compiler and/or webpack actually. I had the same problem before and when I added a println that accessed and printed some data, the function started to work.
I planned to make a bug report of this but haven’t had the time to make a small example to present the bug yet.
Interestingly this was not a problem during this spring, it was announced sometime during summer or very end of spring.
override fun onConfigure() {
onExecuteResult = ::onExecuteResult
}
private fun onExecuteResult(resultBo: BaseBo) {
// TODO remove this when fixed in compiler, when not here onExecuteResult is not executed
if (resultBo is ActionStatus && resultBo.success) println("login successful")
onSuccess()
}