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,2 +1,2 @@
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ <caret>x -> 1 + x }, 40)
@@ -1,2 +1,2 @@
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ <caret>1 + it }, 40)
@@ -1,2 +1,2 @@
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ x -> <caret>x + 1 }, 40)
@@ -1,2 +1,2 @@
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ <caret>it + 1 }, 40)
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ i<caret>t + 1 }, 40)
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
fun applyTwice<A>(f: (A) -> A, x: A) = f(f(x))
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ p -> p + <caret>1 }, 40)