Fix tests: "Placing function type parameters after the function name" error

This commit is contained in:
Yan Zhulanow
2015-11-26 15:56:31 +03:00
parent 3001af56c9
commit a3ff3ffc45
435 changed files with 550 additions and 569 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package java.util
public object Arrays {
public fun asList<T>(vararg ts : T) : List<T> {
public fun <T> asList(vararg ts : T) : List<T> {
val result = ArrayList<T>()
for (t in ts) {
result.add(t)