Decompiler: do not try to render function types with star projections prettily
This commit is contained in:
@@ -4,6 +4,14 @@
|
||||
package test
|
||||
|
||||
internal final class FunctionTypes public constructor() {
|
||||
public final fun f1(f: kotlin.Function1<*, *>): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final fun f2(f: kotlin.Function2<kotlin.Int, *, kotlin.String>): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final fun f3(f: kotlin.Int.(kotlin.Int) -> kotlin.Unit): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final fun f4(f: kotlin.List<kotlin.Function1<*, *>>): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final fun <A> (A.(A) -> A)?.bar(): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final fun <IP, R, P1> ((IP) -> R).compose(f: (P1) -> IP): (P1) -> R { /* compiled code */ }
|
||||
|
||||
@@ -14,4 +14,16 @@ class FunctionTypes {
|
||||
|
||||
public fun <A> (A.(A) -> A)?.bar() {
|
||||
}
|
||||
|
||||
public fun f1(f: Function1<*, *>) {
|
||||
}
|
||||
|
||||
public fun f2(f: Function2<Int, *, String>) {
|
||||
}
|
||||
|
||||
public fun f3(f: @extension Function2<Int, Int, Unit>) {
|
||||
}
|
||||
|
||||
public fun f4(f: List<@extension Function1<*, *>>) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user