File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
idea/testData/quickfix/replaceWithSafeCallForScopeFunction Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 5
5
// ACTION: Move lambda argument into parentheses
6
6
// ACTION: Replace with safe (this?.) call
7
7
// ACTION: Specify explicit lambda signature
8
+ // ACTION: Add return@let
8
9
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
9
10
10
11
fun String?.foo (a : String? ) {
Original file line number Diff line number Diff line change 4
4
// ACTION: Introduce local variable
5
5
// ACTION: Replace with safe (?.) call
6
6
// ACTION: Surround with null check
7
+ // ACTION: Add return@let
7
8
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
8
9
9
10
fun foo (a : String? , b : String? ) {
You can’t perform that action at this time.
0 commit comments