KT-937 When loading array types from Java project them so that they are covariant
#KT-937 Fixed
This commit is contained in:
@@ -2,7 +2,7 @@ import foo.A
|
||||
|
||||
class C : A() {
|
||||
|
||||
public override fun getAnswer(array: Array<String?>?, number: Int, value: Any?): Int {
|
||||
public override fun getAnswer(array: Array<out String?>?, number: Int, value: Any?): Int {
|
||||
return super<A>.getAnswer(array, number, value)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user