Fix wildcards for invariant arguments
See test with Java, we want preserve the invariant that if return type and value parameter types are same in Kotlin, than we can use such return-value as argument for that parameter
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ open class Open
|
||||
|
||||
fun arrayOfOutOpen(x: Array<Out<Open>>) {}
|
||||
// method: ArraysKt::arrayOfOutOpen
|
||||
// generic signature: ([LOut<+LOpen;>;)V
|
||||
// generic signature: ([LOut<LOpen;>;)V
|
||||
|
||||
fun arrayOfOutFinal(x: Array<Out<Final>>) {}
|
||||
// method: ArraysKt::arrayOfOutFinal
|
||||
|
||||
Reference in New Issue
Block a user