[FIR] Put new contract syntax under feauture flag
^KT-55171 Fixed
This commit is contained in:
committed by
Space Team
parent
2783aa13f5
commit
4c96495eef
+2
-1
@@ -1,3 +1,4 @@
|
||||
// LANGUAGE: +ContractSyntaxV2
|
||||
import kotlin.contracts.*
|
||||
|
||||
fun test1(arg: Any?) contract [
|
||||
@@ -19,4 +20,4 @@ fun test3(arg: Any?): Boolean contract [
|
||||
] {
|
||||
require(arg != null)
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user