Add intention to convert lambda to anonymous function #KT-7710 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-07 07:30:50 +03:00
committed by Mikhail Glukhikh
parent 8ef4b9a8e1
commit 8a20d1bf01
46 changed files with 437 additions and 0 deletions
@@ -6,6 +6,7 @@
// ACTION: Replace with safe (this?.) call
// ACTION: Specify explicit lambda signature
// ACTION: Add return@let
// ACTION: Convert to anonymous function
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
fun String?.foo(a: String?) {