[FIR] Put new contract syntax under feauture flag

^KT-55171 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-01-23 18:05:13 +02:00
committed by Space Team
parent 2783aa13f5
commit 4c96495eef
22 changed files with 147 additions and 10 deletions
@@ -1,3 +1,4 @@
// LANGUAGE: +ContractSyntaxV2
// !DIAGNOSTICS: -UNUSED_VARIABLE
import kotlin.contracts.*
@@ -21,4 +22,4 @@ fun bar(arg: Any?, block: () -> Int): Boolean contract [
return true
}
return false
}
}