[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
|
||||
fun f(s: String, action: (String.() -> Unit)?) {
|
||||
s.foo().bar().<!UNRESOLVED_REFERENCE!>action<!>()
|
||||
}
|
||||
|
||||
fun String.foo() = ""
|
||||
|
||||
fun String.bar() = ""
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
val functions: Map<String, () -> Any> = TODO()
|
||||
|
||||
fun run(name: String) = <!INAPPLICABLE_CANDIDATE!>functions[name]()<!>
|
||||
Reference in New Issue
Block a user