Quick fix for deprecated async syntax

This commit is contained in:
Nikolay Krasko
2015-12-19 19:18:22 +03:00
committed by Andrey Breslav
parent 01095bc652
commit afc1e24571
15 changed files with 202 additions and 9 deletions
@@ -0,0 +1,6 @@
// "Migrate unsupported async syntax" "true"
infix fun Any.async(f: () -> Unit) = f()
fun test(foo: Any) {
foo async<caret> (fun () {})
}