Fix tests: "Placing function type parameters after the function name" error

This commit is contained in:
Yan Zhulanow
2015-11-26 15:56:31 +03:00
parent 3001af56c9
commit a3ff3ffc45
435 changed files with 550 additions and 569 deletions
@@ -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()
}
}