Fix two broken tests (missing actions)
This commit is contained in:
+1
@@ -5,6 +5,7 @@
|
||||
// ACTION: Move lambda argument into parentheses
|
||||
// ACTION: Replace with safe (this?.) call
|
||||
// ACTION: Specify explicit lambda signature
|
||||
// ACTION: Add return@let
|
||||
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
|
||||
|
||||
fun String?.foo(a: String?) {
|
||||
|
||||
+1
@@ -4,6 +4,7 @@
|
||||
// ACTION: Introduce local variable
|
||||
// ACTION: Replace with safe (?.) call
|
||||
// ACTION: Surround with null check
|
||||
// ACTION: Add return@let
|
||||
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
|
||||
|
||||
fun foo(a: String?, b: String?) {
|
||||
|
||||
Reference in New Issue
Block a user