Join Slack
Powered by
If I try to do a switch in Swift on a KotlinEnum a...
# kotlin-native
a
Andreas Jost
12/12/2019, 1:46 PM
If I try to do a switch in Swift on a KotlinEnum and provide a case for each constant, the compiler gives an error that switch must be exhaustive and it needs a default clause. Is that a limitation of the interop or will it be different in future?
j
Joe Dwyer
12/12/2019, 3:24 PM
@basher
filed a feature request to this effect
https://github.com/JetBrains/kotlin-native/issues/2521
4
Views
Open in Slack
Previous
Next