diff --git a/js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallTranslator.kt b/js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallTranslator.kt index 7b5977a43a5..695585e882a 100644 --- a/js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallTranslator.kt +++ b/js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallTranslator.kt @@ -148,7 +148,7 @@ fun computeExplicitReceiversForInvoke( trait CallCase { - protected fun I.unsupported(message: String = "") : Nothing = throw UnsupportedOperationException("this case unsupported. $this") + protected fun I.unsupported(message: String = "") : Nothing = throw IllegalStateException("this case unsupported. $this") protected fun I.noReceivers(): JsExpression = unsupported()