KT-14400: Properly handle TypeAliasConstructorDescriptor in KotlinTypeMapper.mapToCallableMethod(...)
Implement getDefaultType() in TypeAliasDescriptor subclasses.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
open class Foo<T>(val x: T)
|
||||
|
||||
typealias FooStr = Foo<String>
|
||||
|
||||
val test = object : FooStr("OK") {}
|
||||
|
||||
fun box() = test.x
|
||||
Reference in New Issue
Block a user