[FIR] Unwrap named arguments during contracts verification
^KT-64501 Fixed
This commit is contained in:
committed by
Space Team
parent
6031f80e01
commit
de9826683e
+1
-1
@@ -9,7 +9,7 @@ inline fun myRun(f: () -> Unit) {
|
||||
|
||||
@OptIn(ExperimentalContracts::class)
|
||||
inline fun test_1(g: () -> Unit) {
|
||||
<!WRONG_INVOCATION_KIND!>contract { callsInPlace(g, InvocationKind.EXACTLY_ONCE) }<!>
|
||||
contract { callsInPlace(g, InvocationKind.EXACTLY_ONCE) }
|
||||
myRun(f = g)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user