File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ fun <T> KotlinTypeFacade.interpret(
95
95
.filterNot { it.name.startsWith(" typeArg" ) }
96
96
.associateBy { it.name }.toSortedMap().minus(additionalArguments.keys)
97
97
98
- if (expectedArgsMap.keys - defaultArguments != actualArgsMap.keys - defaultArguments) {
98
+ val unexpectedArguments = expectedArgsMap.keys - defaultArguments != actualArgsMap.keys - defaultArguments
99
+ if (unexpectedArguments) {
99
100
val message = buildString {
100
101
appendLine(" ERROR: Different set of arguments" )
101
102
appendLine(" Implementation class: $processor " )
@@ -105,8 +106,7 @@ fun <T> KotlinTypeFacade.interpret(
105
106
appendLine(" add arguments to an interpeter:" )
106
107
appendLine(diff.map { actualArgsMap[it] })
107
108
}
108
- reporter.reportInterpretationError(functionCall, message)
109
- return null
109
+ interpretationFrameworkError(message)
110
110
}
111
111
112
112
val arguments = mutableMapOf<String , Interpreter .Success <Any ?>>()
You can’t perform that action at this time.
0 commit comments