Inline util functions renaming
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fun f(a: Int) {
|
||||
run(fun () {
|
||||
run2(fun () {
|
||||
<lineMarker>f</lineMarker>(a - 1)
|
||||
})
|
||||
}
|
||||
@@ -12,3 +12,5 @@ fun ff(a: Int) {
|
||||
|
||||
inline fun <T> run1(noinline f: () -> T): T { }
|
||||
|
||||
inline fun <T> run2(f: () -> T): T { }
|
||||
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ fun test() {
|
||||
<lineMarker descr="Recursive call">f</lineMarker>(a-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user