Minor in JS backend: throw IllegalStateException instead of UnsupportedOperationException inside CallCase

This commit is contained in:
Zalim Bashorov
2015-03-16 22:21:39 +03:00
parent 8421a15521
commit 0ddec2d9b5
@@ -148,7 +148,7 @@ fun computeExplicitReceiversForInvoke(
trait CallCase<I : CallInfo> {
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()