Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
Vendored
+1
-1
@@ -3,6 +3,6 @@
|
||||
class A<T>(val n: T)
|
||||
class B<T>(val m: T)
|
||||
|
||||
fun test<U, V>(u: U): B<V> {
|
||||
fun <U, V> test(u: U): B<V> {
|
||||
return A(u)<caret>(u, "u")
|
||||
}
|
||||
idea/testData/quickfix/createFromUsage/createFunction/invoke/invokeOnUserTypeWithTypeParams.kt.after
Vendored
+1
-1
@@ -8,6 +8,6 @@ class A<T>(val n: T) {
|
||||
|
||||
class B<T>(val m: T)
|
||||
|
||||
fun test<U, V>(u: U): B<V> {
|
||||
fun <U, V> test(u: U): B<V> {
|
||||
return A(u)(u, "u")
|
||||
}
|
||||
Reference in New Issue
Block a user