by default and will be accessible outside of a file. So you may want to declare it
private
.
Also you can access
typealias
by a full qualified name, while named import by that name only.
Pavlo Liapota
03/26/2019, 9:41 PM
But at runtime there should not be any difference.
r
Ruckus
03/27/2019, 1:22 AM
Ah, indeed. Both are very good points. Thanks!
d
dmcg
03/27/2019, 10:24 AM
Also it might be worth mentioning that in my experience, typealiases are the most reliable way to crash the Kotlin compiler, so use other techniques if I can
😁 1
r
Ruckus
03/27/2019, 3:14 PM
@dmcg I prefer to use complex hierarchies of nested generics 🙂
d
dmcg
03/27/2019, 3:23 PM
Complex hierarchies of nested generic typealiases it is then