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
@@ -3,7 +3,7 @@ package test.kotlin
interface A
@kotlin.jvm.JvmOverloads
public fun foo<T : A>(k: Class<T>, a: A, b: Boolean = false, s: String="hello"): List<T> {
public fun <T : A> foo(k: Class<T>, a: A, b: Boolean = false, s: String="hello"): List<T> {
println("$b $s")
return listOf()
}