Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class U<A>
|
||||
|
||||
interface T<A, B> {
|
||||
fun <caret>foofoofoo<C>(a: A, b: B, c: C): Int
|
||||
fun <C> <caret>foofoofoo(a: A, b: B, c: C): Int
|
||||
}
|
||||
|
||||
abstract class T1<X, Y> : T<U<X>, U<Y>> {
|
||||
@@ -17,7 +17,7 @@ abstract class T2<X> : T1<X, String>() {
|
||||
}
|
||||
|
||||
class T3 : T2<Any>() {
|
||||
override fun foofoofoo<D>(a: U<Any>, b: U<String>, c: D): Int {
|
||||
override fun <D> foofoofoo(a: U<Any>, b: U<String>, c: D): Int {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user