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
@@ -2,7 +2,7 @@
// ACTION: Add non-null asserted (!!) call
// ACTION: Flip '>='
// ACTION: Replace overloaded operator with function call
// ERROR: Infix call corresponds to a dot-qualified call 'w?.x.compareTo(42)' which is not allowed on a nullable receiver 'w?.x'. Use '?.'-qualified call instead
// ERROR: Operator call corresponds to a dot-qualified call 'w?.x.compareTo(42)' which is not allowed on a nullable receiver 'w?.x'.
class Wrapper(val x: Int)