Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
abstract class Owner<T> {
|
||||
fun <caret>f<R>(t: T, r: R): R = r
|
||||
fun <R> <caret>f(t: T, r: R): R = r
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
abstract class Owner<T> {
|
||||
}
|
||||
|
||||
fun Owner<T>.<caret>f<T, R>(t: T, r: R): R = r
|
||||
fun <T, R> Owner<T>.f(t: T, r: R): R = r
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
abstract class Owner {
|
||||
fun <caret>f<T>(t: T): T = t
|
||||
fun <T> <caret>f(t: T): T = t
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
abstract class Owner {
|
||||
}
|
||||
|
||||
fun Owner.<caret>f<T>(t: T): T = t
|
||||
fun <T> Owner.f(t: T): T = t
|
||||
Reference in New Issue
Block a user