A better test for generic functions
This commit is contained in:
@@ -18,4 +18,6 @@ fun test(l : java.util.List<Int>) {
|
||||
Collections.emptyList<Int>()
|
||||
Collections.emptyList<error>()</error>
|
||||
|
||||
Collections.singleton<Int>(1) : Set<Int>?
|
||||
Collections.singleton<Int><error>(1.0)</error>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user