Join Slack
Powered by
Hi anybody tried new sealed interface ? I’m having...
# compose
r
rsktash
02/11/2021, 10:20 AM
Hi anybody tried new sealed interface ? I’m having issue. A.S is not recognizing this type of interface
l
lewis
02/11/2021, 10:21 AM
Which Kotlin AS plugin version are you using?
r
rsktash
02/11/2021, 10:21 AM
1.4.30 preview
rsktash
02/11/2021, 10:21 AM
b
BenjO
02/11/2021, 10:22 AM
support for sealed interfaces is experimental, don't know if that's the reason
https://kotlinlang.org/docs/reference/sealed-classes.html#sealed-interfaces
r
rsktash
02/12/2021, 2:52 AM
Turns out, in order to use these features, we have to enable each feature explicitly like this
👆 1
👍 1
rsktash
02/12/2021, 2:54 AM
@jim
3
Views
Open in Slack
Previous
Next