https://kotlinlang.org logo
a

Adam

08/27/2020, 5:31 PM
Does anyone know where I can see the source for the primitive types such as
Int
? I’m interested in seeing how mapping to
int
, and boxing to
java.lang.Integer
is implemented. So far I found a Generator class: https://github.com/JetBrains/kotlin/blob/master/generators/builtins/primitives.kt And this native generated file, but I can’t see an equivalent for JVM or where the conversion is handled.
p

pniederw

08/27/2020, 5:34 PM
You want to know where this is implemented in the compiler?
m

Marc Knaup

08/27/2020, 6:27 PM
Best place to ask is #compiler
a

Adam

08/28/2020, 3:15 AM
Yes, thanks will ask there!