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 4da5ffd commit defa464Copy full SHA for defa464
plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/interpret.kt
@@ -148,7 +148,7 @@ fun <T> KotlinTypeFacade.interpret(
148
val interpreter = expression.loadInterpreter()
149
if (interpreter == null) {
150
// if the plugin already transformed call, its original form is the last expression of .let { }
151
- val argument = expression.arguments[0]
+ val argument = expression.arguments.getOrNull(0)
152
val last = (argument as? FirAnonymousFunctionExpression)?.anonymousFunction?.body?.statements?.lastOrNull()
153
val call = (last as? FirReturnExpression)?.result as? FirFunctionCall
154
call?.loadInterpreter()?.let {
0 commit comments