Minor, remove obsolete directives and suppressions from contracts test data

This commit is contained in:
Alexander Udalov
2019-11-05 16:01:46 +01:00
parent 66e19b13ce
commit 4164b620e8
17 changed files with 8 additions and 53 deletions
@@ -1,10 +1,8 @@
// !LANGUAGE: +AllowContractsForCustomFunctions +UseCallsInPlaceEffect +ReadDeserializedContracts
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts
// IGNORE_BACKEND: NATIVE
import kotlin.contracts.*
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
public fun myrun(block: () -> Unit) {
contract {
callsInPlace(block, InvocationKind.EXACTLY_ONCE)