我在我的Android应用程序中声明了以下kotlin属性: dao::class.functions.find}
其中, DAO 是对reference接口的引用。由于我已经将kotlin更新为1.6.10版本,因此每当我尝试执行上面的代码时,都会引发下面的wierd异常。当我使用Android的计算工具计算表达式时,也会引发相同的
让我们有一个函数,它只是在try-catch中计算一些东西并返回结果: private fun compute(): String { return tryRuntimeException("Uups") // <-- GOAL: extract this to a dedicated method } 我想将抛出声明提取到一个单独的函数中但是,我无法在Kotlin中编译这样的</e