KT-14400: Properly handle TypeAliasConstructorDescriptor in KotlinTypeMapper.mapToCallableMethod(...)

Implement getDefaultType() in TypeAliasDescriptor subclasses.
This commit is contained in:
Dmitry Petrov
2016-10-18 16:07:30 +03:00
parent 7dce1f438f
commit c41ec1ddfb
12 changed files with 68 additions and 5 deletions
@@ -0,0 +1,7 @@
open class Foo<T>(val x: T)
typealias FooStr = Foo<String>
val test = object : FooStr("OK") {}
fun box() = test.x