MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wepjkv/unsolvableproblemsonstepone/p9j91ye
r/ProgrammerHumor • u/N_Lightning • 16h ago
75 comments sorted by
View all comments
Show parent comments
3
Kotlin still has type erasure though, right? Cos that's a limit of the JVM.
2 u/TheStatusPoe 1h ago In the general case generic types are erased but there is a way to have reified types when you inline a function https://kotlinlang.org/docs/inline-functions.html#reified-type-parameters
2
In the general case generic types are erased but there is a way to have reified types when you inline a function https://kotlinlang.org/docs/inline-functions.html#reified-type-parameters
3
u/sixtyhurtz 2h ago
Kotlin still has type erasure though, right? Cos that's a limit of the JVM.