[LL FIR] add script tests for AbstractFirLazyDeclarationResolveTest
^KT-60728
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import kotlin.contracts.InvocationKind
|
||||
|
||||
inline fun f<caret>oo(block: () -> Unit) {
|
||||
kotlin.contracts.contract {
|
||||
callsInPlace(block, InvocationKind.EXACTLY_ONCE)
|
||||
}
|
||||
|
||||
block()
|
||||
}
|
||||
Reference in New Issue
Block a user