Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@ fun foo() {
|
||||
<spot>bar<String>("x")</spot>
|
||||
}
|
||||
|
||||
fun bar<T>(t: T) : T = t
|
||||
fun <T> bar(t: T) : T = t
|
||||
+1
-1
@@ -2,4 +2,4 @@ fun foo() {
|
||||
<spot>bar("x")</spot>
|
||||
}
|
||||
|
||||
fun bar<T>(t: T) : T = t
|
||||
fun <T> bar(t: T) : T = t
|
||||
Reference in New Issue
Block a user