Fix invalid testdata for ConvertToScopeIntention applicability
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
// ACTION: Convert to block body
|
||||
// ACTION: Replace overloaded operator with function call
|
||||
// ACTION: Wrap with '?.let { ... }' call
|
||||
// ACTION: Convert to run
|
||||
// ACTION: Convert to with
|
||||
// ERROR: Reference has a nullable type '(String.() -> Unit)?', use explicit '?.invoke()' to make a function-like call instead
|
||||
|
||||
fun foo(exec: (String.() -> Unit)?) = "".exec<caret>()
|
||||
Reference in New Issue
Block a user