Quick fix for deprecated async syntax
This commit is contained in:
committed by
Andrey Breslav
parent
01095bc652
commit
afc1e24571
@@ -0,0 +1,6 @@
|
||||
// "Migrate unsupported async syntax" "true"
|
||||
infix fun Any.async(f: () -> Unit) = f()
|
||||
|
||||
fun test(foo: Any) {
|
||||
foo async<caret> fun () {}
|
||||
}
|
||||
Reference in New Issue
Block a user