Files
kotlin-fork/idea/testData/quickfix/asyncUnsupported/asyncInfixCallWithFun.kt.after
T
2015-12-21 07:15:37 +03:00

6 lines
142 B
Plaintext
Vendored

// "Migrate unsupported async syntax" "true"
infix fun Any.async(f: () -> Unit) = f()
fun test(foo: Any) {
foo async<caret> (fun () {})
}