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
@@ -9,28 +9,28 @@ class State() {
public var value: Int = 0
}
inline fun test1(state: State) {
internal inline fun test1(state: State) {
loop@ for (i in 1..10) {
state.value++
if (i == 2) break@loop
}
}
inline fun test2(state: State) {
internal inline fun test2(state: State) {
loop@ for (i in 1..10) {
test1(state)
if (i == 2) break@loop
}
}
inline fun test3(state: State) {
internal inline fun test3(state: State) {
loop@ for (i in 1..10) {
test2(state)
if (i == 2) break@loop
}
}
fun test(state: State) {
internal fun test(state: State) {
test3(state)
}
@@ -8,7 +8,7 @@ class State() {
public var value: Int = 0
}
fun test(state: State) {
internal fun test(state: State) {
@inline fun test3() {
@inline fun test2() {
@inline fun test1() {