Are there any plans for union types in Kotlin or at least KotlinJS? I heard mentions in one if the arrow meta talks that kotlin already supports union types, just doesn't expose them to public api. Curious to know why
c
CLOVIS
02/16/2021, 11:15 AM
You might be interested in #CJ699L62W, they have a compiler plugin that adds support for union types. They're waiting for the IR backend to be stable so it can be fully released.