Convert ExpressionReceiver to kotlin.

This commit is contained in:
Stanislav Erokhin
2015-11-15 22:18:49 +03:00
parent 512bcbe7b9
commit 5a7e879c0c
20 changed files with 59 additions and 73 deletions
@@ -180,7 +180,7 @@ public class JavaNullabilityWarningsChecker : AdditionalTypeChecker {
actualMayBeNull ->
val reportOn =
if (receiverArgument is ExpressionReceiver)
receiverArgument.getExpression()
receiverArgument.expression
else
c.call.getCalleeExpression() ?: c.call.getCallElement()