Is there any news on when kotlin contracts will be...
# compiler
q
Is there any news on when kotlin contracts will be stabilized?
e
https://github.com/Kotlin/KEEP/blob/master/proposals/kotlin-contracts.md#compatibility-notice the ABI of declared contracts is stable. the use of functions with contracts is almost certainly stable. what is experimental and subject to change: the API for declaring contracts. there is an alternative currently under consideration: https://github.com/Kotlin/KEEP/issues/139#issuecomment-1120445552
q
Yes. I am asking about the syntax.
d
Not earlier than K2 will be released
g
Is it considered to handle
is
with generics in the right side of
implies
for the stable version?
d
Yes it is
­čÖĆ 3