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.Intf
|
||||
|
||||
class Impl(): Intf {
|
||||
|
||||
public override fun fooBar(i: Int, s: Array<String?>?, foo: Any?) {
|
||||
public override fun fooBar(i: Int, s: Array<out String?>?, foo: Any?) {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user