artem_zin
07/27/2016, 8:46 AMtypealias
looks useless 😞
* typealias UserId = String
allows me call all String
functions on UserId
* Extension properties and functions for typealiases available on original type
Would be great if typealias
will be converted to original type only at last step — bytecode emission and will be treat as a separate virtual type before that, preventing things mentioned above ^ as compilation errors.