Alex Murphy
02/04/2025, 5:05 PMstruct
) export on the roadmap? From what i've seen data class exports from Kotlin will still use reference types (swift class
)sergey.bogolepov
02/05/2025, 8:37 AMvalue
classes, and even more different from data
classes. So automatic unconditional conversion would be incorrect.
We did not dive deep into this problem yet, but likely we will export boxed value
classes as Swift classes, and provide "yes I know what I'm doing" Kotlin annotation which forces export of the given type as struct.Jon Bailey
02/05/2025, 5:22 PMsergey.bogolepov
02/06/2025, 9:14 AM