Make "Specify explicit lambda signature" available on whole lambda

So #KT-22492 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-02-09 09:48:21 +03:00
committed by Mikhail Glukhikh
parent 059a797e10
commit 5499078fcc
6 changed files with 25 additions and 29 deletions
@@ -4,6 +4,7 @@
// ACTION: Introduce local variable
// ACTION: Move lambda argument into parentheses
// ACTION: Replace with safe (this?.) call
// ACTION: Specify explicit lambda signature
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
fun String?.foo(a: String?) {