Fix 'add not-null asserted call' quick fix for operation in

#KT-18529 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-06-19 04:06:05 +03:00
parent b53a3b324f
commit aeac2ea384
12 changed files with 33 additions and 13 deletions
@@ -1,5 +1,5 @@
// "Replace with safe (?.) call" "false"
// ERROR: Infix call corresponds to a dot-qualified call 'p1.compareTo(p2)' which is not allowed on a nullable receiver 'p1'. Use '?.'-qualified call instead
// ERROR: Operator call corresponds to a dot-qualified call 'p1.compareTo(p2)' which is not allowed on a nullable receiver 'p1'.
// ACTION: Add non-null asserted (!!) call
// ACTION: Flip '>'
// ACTION: Replace overloaded operator with function call