Allow typealias to have the same name as generic class

Among the designs discussed so far the most promising is to have “default values” for type parameters, i.e.:

class Foo<T : Bar = Baz>

This would likely solve your case, I think, but I can’t give you an ETA for this feature

13 Likes