added annotations for Collections and Arrays

This commit is contained in:
Svetlana Isakova
2012-09-24 14:18:04 +04:00
parent 32d707ca9b
commit 85f3dbf4fc
10 changed files with 409 additions and 13 deletions
@@ -1,4 +1,4 @@
// "Specify type explicitly" "true"
package a
public val <caret>l: MutableList<Int>? = java.util.Collections.emptyList<Int>()
public val <caret>l: MutableList<Int> = java.util.Collections.emptyList<Int>()
@@ -9,7 +9,7 @@ import java.util.List
class M {
trait A {
val l<caret>: MutableList<Int>?
val l<caret>: MutableList<Int>
}
}
}
@@ -5,6 +5,6 @@ import java.util.Collections
class M {
trait A {
abstract val l<caret>: MutableList<Int>?
abstract val l<caret>: MutableList<Int>
}
}