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 12a60d8 commit 1fe6cefCopy full SHA for 1fe6cef
jupyter-lib/api/src/main/kotlin/org/jetbrains/kotlinx/jupyter/api/VariableState.kt
@@ -25,7 +25,7 @@ data class VariableStateImpl(
25
val fieldValue = try {
26
Result.success(property.get(scriptInstance))
27
} catch (ex: Throwable) {
28
- Result.failure<Any?>(ex)
+ Result.failure(ex)
29
}
30
property.isAccessible = wasAccessible
31
@@ -69,6 +69,7 @@ data class VariableStateImpl(
69
70
val receivedInstances: MutableList<Any?> = mutableListOf()
71
for (property in membersProperties) {
72
+ @Suppress("UNCHECKED_CAST")
73
property as KProperty1<Any, *>
74
try {
75
val wasAccessible = property.isAccessible
0 commit comments