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
@@ -5,7 +5,7 @@ package foo
// A copy of stdlib run function.
// Copied to not to depend on run implementation.
// It's important, that the body is just `return fn()`.
internal inline fun evaluate<T>(fn: ()->T): T = fn()
internal inline fun <T> evaluate(fn: ()->T): T = fn()
internal fun test(n: Int): Int {
return evaluate {