Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user