Migrate type parameter list syntax.

This commit is contained in:
Ilya Gorbunov
2015-11-17 22:54:22 +03:00
parent 16c5289e6c
commit c3190bbae3
7 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import java.util.LinkedHashSet
class ComplexSetJsTest : SetJsTest() {
// Helper function with generic parameter to force to use ComlpexHashMap
fun doTest<T>() {
fun <T> doTest() {
HashSet<T>()
HashSet<T>(3)
HashSet<T>(3, 0.5f)
@@ -257,5 +257,5 @@ abstract class SetJsTest {
return set
}
fun genericHashSetOf<T>(vararg values: T) = hashSetOf(*values)
fun <T> genericHashSetOf(vararg values: T) = hashSetOf(*values)
}