Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData

This commit is contained in:
Denis Zharkov
2015-09-15 10:11:19 +03:00
parent bae3320d52
commit 9adde77c47
43 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -29,4 +29,4 @@ public fun Input.copyTo(output: Output, size: Int): Long {
}
public inline fun with2<T>(receiver : T, inlineOptions(ONLY_LOCAL_RETURN) body : T.() -> Unit) : Unit = {receiver.body()}()
public inline fun with2<T>(receiver : T, crossinline body : T.() -> Unit) : Unit = {receiver.body()}()