https://kotlinlang.org logo
d

dmitry.petrov

11/07/2016, 11:46 AM
More exactly, type aliases are macros on type projections. That is, if
Copy code
typealias M<T> = Map<T, T>
then
M<*>
is
Map<*, *>
,
M<out Int>
is
M<out Int, out Int>
, and so on.