KT-937 When loading array types from Java project them so that they are covariant

#KT-937 Fixed
This commit is contained in:
Alexander Udalov
2012-08-01 21:14:32 +04:00
parent 8550b74fdb
commit a85f46816e
11 changed files with 55 additions and 13 deletions
@@ -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()
}
}