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
@@ -3,13 +3,13 @@ package foo
// CHECK_CONTAINS_NO_CALLS: localWithCapture
// CHECK_CONTAINS_NO_CALLS: localWithoutCapture
inline fun repeatAction(times: Int, action: () -> Unit) {
internal inline fun repeatAction(times: Int, action: () -> Unit) {
for (i in 1..times) {
action()
}
}
fun localWithoutCapture(a: Int, b: Int): Int {
internal fun localWithoutCapture(a: Int, b: Int): Int {
var sum = 0
@inline fun inc(x: Int): Int {
@@ -23,7 +23,7 @@ fun localWithoutCapture(a: Int, b: Int): Int {
return sum
}
fun localWithCapture(a: Int, b: Int): Int {
internal fun localWithCapture(a: Int, b: Int): Int {
var sum = 0
@inline fun inc() {