mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Inline test data structure changed
This commit is contained in:
committed by
Michael Bogdanov
parent
b37c0d3fff
commit
02c6bdeaa3
@@ -0,0 +1,9 @@
|
||||
package zzz
|
||||
|
||||
inline fun calc(lambda: () -> Int): Int {
|
||||
return doCalc { lambda() }
|
||||
}
|
||||
|
||||
fun doCalc(lambda2: () -> Int): Int {
|
||||
return lambda2()
|
||||
}
|
||||
Reference in New Issue
Block a user