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 @@ -97,7 +97,8 @@ fun <T> KotlinTypeFacade.interpret(
97
97
.filterNot { it.name.startsWith(" typeArg" ) }
98
98
.associateBy { it.name }.toSortedMap().minus(additionalArguments.keys)
99
99
100
- if (expectedArgsMap.keys - defaultArguments != actualArgsMap.keys - defaultArguments) {
100
+ val unexpectedArguments = expectedArgsMap.keys - defaultArguments != actualArgsMap.keys - defaultArguments
101
+ if (unexpectedArguments) {
101
102
val message = buildString {
102
103
appendLine(" ERROR: Different set of arguments" )
103
104
appendLine(" Implementation class: $processor " )
@@ -107,8 +108,7 @@ fun <T> KotlinTypeFacade.interpret(
107
108
appendLine(" add arguments to an interpeter:" )
108
109
appendLine(diff.map { actualArgsMap[it] })
109
110
}
110
- reporter.reportInterpretationError(functionCall, message)
111
- return null
111
+ interpretationFrameworkError(message)
112
112
}
113
113
114
114
val arguments = mutableMapOf<String , Interpreter .Success <Any ?>>()
You can’t perform that action at this time.
0 commit comments