yuya_horita
10/23/2018, 2:29 AMolonho
10/23/2018, 3:13 AMyuya_horita
10/23/2018, 3:19 AMyuya_horita
10/23/2018, 3:25 AMimproved
is better expression than modified
olonho
10/23/2018, 5:03 AMyuya_horita
10/23/2018, 5:23 AMyuya_horita
10/24/2018, 8:14 AMmost generics (but for collections) from Kotlin are erased
?
I tried, but generic type becomes Any
even for Collection.
maybe, I might have misunderstood.yuya_horita
10/24/2018, 8:14 AMkpgalligan
03/05/2019, 6:12 PMsvyatoslav.scherbina
03/05/2019, 6:46 PMkpgalligan
03/05/2019, 6:56 PMkpgalligan
03/05/2019, 6:58 PMkpgalligan
03/05/2019, 6:59 PMsvyatoslav.scherbina
03/06/2019, 7:15 AMval x: Class<out T>
), it only has declaration-site variance (class Class<out T>
). Swift ignores even the latter and doesn’t support variance at all.kpgalligan
03/06/2019, 3:46 PMsvyatoslav.scherbina
03/07/2019, 6:45 AMand possibly any insight into future interop changes with Swift?Direct interop with Swift is expected to be hard to implement. Swift and Kotlin are quite different languages, and Swift doesn’t seem to have as flexible runtime as Objective-C has.
kpgalligan
03/08/2019, 2:21 PMkpgalligan
03/18/2019, 6:50 PMsvyatoslav.scherbina
03/19/2019, 8:13 AMRather than simply maintaining a fork of K/N for the near future, what about making the header generation something that’s pluggable?I don’t consider Objective-C interface generation mature enough to make it pluggable. It may be found easy to add single extension point to post-process the entire header AST, but this would definitely make supporting generics much harder. Also most of other generated header adjustments I could imagine would require also some customization of code generation, which is even more immature and internal. So besides maintaining a fork of K/N I can’t find any other solution than to getting this feature into the core platform.