Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
|
||||
class A {
|
||||
fun test<T>(n: Int) {
|
||||
fun <T> test(n: Int) {
|
||||
val t: T = <caret>foo
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
|
||||
class A {
|
||||
fun test<T>(n: Int, foo: T) {
|
||||
fun <T> test(n: Int, foo: T) {
|
||||
val t: T = foo
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
|
||||
class A<T> {
|
||||
fun test<T>(n: Int) {
|
||||
fun <T> test(n: Int) {
|
||||
val t: T = <caret>foo
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
|
||||
class A<T> {
|
||||
fun test<T>(n: Int, foo: T) {
|
||||
fun <T> test(n: Int, foo: T) {
|
||||
val t: T = foo
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -3,6 +3,6 @@
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
fun test<U>(u: U) {
|
||||
fun <U> test(u: U) {
|
||||
val a: A<U> = A(u).<caret>foo
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,6 +5,6 @@ class A<T>(val n: T) {
|
||||
val foo: A<T>
|
||||
}
|
||||
|
||||
fun test<U>(u: U) {
|
||||
fun <U> test(u: U) {
|
||||
val a: A<U> = A(u).foo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user