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 @@
// "Create parameter 'foo'" "true"
class A {
fun test<T>(n: Int) {
fun <T> test(n: Int) {
val t: T = <caret>foo
}
}
@@ -1,7 +1,7 @@
// "Create parameter 'foo'" "true"
class A {
fun test<T>(n: Int, foo: T) {
fun <T> test(n: Int, foo: T) {
val t: T = foo
}
}
@@ -1,7 +1,7 @@
// "Create parameter 'foo'" "true"
class A<T> {
fun test<T>(n: Int) {
fun <T> test(n: Int) {
val t: T = <caret>foo
}
}
@@ -1,7 +1,7 @@
// "Create parameter 'foo'" "true"
class A<T> {
fun test<T>(n: Int, foo: T) {
fun <T> test(n: Int, foo: T) {
val t: T = foo
}
}
@@ -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
}
@@ -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
}