More tests for varargs updated
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
class Array
|
||||
|
||||
fun test() {
|
||||
bar<kotlin.Array<String>, Int, kotlin.Array<String>>(foo(""), 0, foo(""))
|
||||
bar<kotlin.Array<out String>, Int, kotlin.Array<out String>>(foo(""), 0, foo(""))
|
||||
}
|
||||
|
||||
fun foo(vararg x: String) = x
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
class Array
|
||||
|
||||
fun test() {
|
||||
bar<kotlin.Array<String>>(foo(""))
|
||||
bar<kotlin.Array<out String>>(foo(""))
|
||||
}
|
||||
|
||||
fun foo(vararg x: String) = x
|
||||
|
||||
Reference in New Issue
Block a user