Use extension registry when unpacking serialized type alias

It's funny here that "extension" here means protobuf extensions
while initial issue is about extension function types

 #Fixed KT-22728
This commit is contained in:
Denis Zharkov
2018-02-07 11:17:22 +03:00
parent fbef21bf17
commit 2ad93a0330
7 changed files with 43 additions and 1 deletions
@@ -0,0 +1,7 @@
package test
class Foo<T>
fun <P> foo(x: Foo<P>.() -> Unit) {}
typealias MyHandler<P> = Foo<P>.() -> Unit
@@ -0,0 +1,8 @@
package test
public fun </*0*/ P> foo(/*0*/ x: test.Foo<P>.() -> kotlin.Unit): kotlin.Unit
public final class Foo</*0*/ T> {
/*primary*/ public constructor Foo</*0*/ T>()
}
public typealias MyHandler</*0*/ P> = test.Foo<P>.() -> kotlin.Unit