Join Slack
Communities
Powered by
what's `kotlin.internal.contracts` is used for?
# stdlib
s
stepango
03/03/2018, 8:41 AM
what's
kotlin.internal.contracts
is used for?
a
Andreas Sinz
03/03/2018, 9:06 AM
It will be used in future versions for stuff like smartcasting when using
String.IsNullOrEmpty
s
stepango
03/03/2018, 12:14 PM
Yeah right, make sense. So hopefully for 1.3 Kotlin we'll be able to use it for custom functions
a
Aregev2
03/05/2018, 6:08 AM
Good idea
g
gildor
03/05/2018, 8:55 AM
See
https://discuss.kotlinlang.org/t/status-of-kotlin-internal-contracts/6392
And related issues:
https://youtrack.jetbrains.com/issue/KT-21482
12
Views
Open in Slack
Previous
Next