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
+2 -2
View File
@@ -2,9 +2,9 @@ package foo
// CHECK_CONTAINS_NO_CALLS: test
inline fun sum(x: Int, y: Int): Int = js("x + y")
internal inline fun sum(x: Int, y: Int): Int = js("x + y")
fun test(x: Int, y: Int): Int = sum(sum(x, x), sum(y, y))
internal fun test(x: Int, y: Int): Int = sum(sum(x, x), sum(y, y))
fun box(): String {
assertEquals(4, test(1, 1))