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)
|
||||
|
||||
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