Reverted loading arrays from java with 'out' projection kind as return value.

#KT-3065
This commit is contained in:
Evgeny Gerashchenko
2012-11-29 16:15:19 +04:00
parent fd0251729b
commit 00873b6e8c
21 changed files with 69 additions and 64 deletions
@@ -6,5 +6,5 @@ fun main(args : Array<String>) {
val al : ArrayList<Int> = ArrayList<Int>()
// A type mismatch on this line means that jdk-annotations were not loaded
al.toArray(Array<Int>(3, {1})) : Array<out Int>
al.toArray(Array<Int>(3, {1})) : Array<Int>
}