Fix WrapWithSafeLetCallFix ignore extension method

Related to KT-17726
This commit is contained in:
shiraji
2017-05-20 12:46:31 +03:00
committed by Mikhail Glukhikh
parent bd73916d99
commit c8e58ce9ab
4 changed files with 24 additions and 1 deletions
@@ -2,7 +2,6 @@
// ACTION: Add non-null asserted (!!) call
// ACTION: Convert to expression body
// ACTION: Replace with safe (this?.) call
// ACTION: Wrap with '?.let { ... }' call
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type A?
class A {