fix tests in org.jetbrains.kotlin.js.test.semantics

This commit is contained in:
Michael Nedzelsky
2015-09-07 22:21:52 +03:00
parent aa44606663
commit f6892580f6
57 changed files with 167 additions and 167 deletions
@@ -5,9 +5,9 @@ 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()`.
inline fun evaluate<T>(fn: ()->T): T = fn()
internal inline fun evaluate<T>(fn: ()->T): T = fn()
fun test(n: Int): Int {
internal fun test(n: Int): Int {
return evaluate {
var i = n
var sum = 0