type apple = integer; orange = integer;
Same in Kotlin sadly. The whole point of giving a different names to a type is to make them incompatible.
Same in Kotlin sadly. The whole point of giving a different names to a type is to make them incompatible.