From ce8e2d7a65c7ab52e51d7ef61b1f0b0486555720 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Thu, 4 Feb 2016 21:28:07 +0300 Subject: [PATCH] Added better diagnostic for EA-75805 --- idea/ide-common/src/org/jetbrains/kotlin/idea/util/CallType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/ide-common/src/org/jetbrains/kotlin/idea/util/CallType.kt b/idea/ide-common/src/org/jetbrains/kotlin/idea/util/CallType.kt index 874a4212013..174a61c0430 100644 --- a/idea/ide-common/src/org/jetbrains/kotlin/idea/util/CallType.kt +++ b/idea/ide-common/src/org/jetbrains/kotlin/idea/util/CallType.kt @@ -167,7 +167,7 @@ sealed class CallTypeAndReceiver CallTypeAndReceiver.OPERATOR(receiverExpression) - else -> error("Unknown parent for JetOperationReferenceExpression: $parent") + else -> error("Unknown parent for JetOperationReferenceExpression: $parent with text '${parent.text}'") } }