Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
fun test<U>(u: U) {
|
||||
fun <U> test(u: U) {
|
||||
val a: A<U> = A(u) <caret>+ 2
|
||||
}
|
||||
+1
-1
@@ -6,6 +6,6 @@ class A<T>(val n: T) {
|
||||
}
|
||||
}
|
||||
|
||||
fun test<U>(u: U) {
|
||||
fun <U> test(u: U) {
|
||||
val a: A<U> = A(u) + 2
|
||||
}
|
||||
Reference in New Issue
Block a user