Fix invalid testdata for ConvertToScopeIntention applicability

This commit is contained in:
Igor Yakovlev
2019-08-28 16:31:49 +03:00
parent cf39803074
commit 7b2f39530a
21 changed files with 0 additions and 42 deletions
@@ -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>()