Generic Java methods supported

This commit is contained in:
Andrey Breslav
2011-04-22 18:35:24 +04:00
parent d9997f3c25
commit fcdbc3141c
3 changed files with 47 additions and 27 deletions
+8
View File
@@ -10,4 +10,12 @@ fun test(l : java.util.List<Int>) {
val b : java.lang.Object
val a : util.List<Int>
val z : java.<error>utils</error>.List<Int>
val f : java.io.File? = null
Collections.<error>emptyList</error>
Collections.emptyList<Int>
Collections.emptyList<Int>()
Collections.emptyList<error>()</error>
}