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,15 +2,15 @@ package foo
// CHECK_CONTAINS_NO_CALLS: add
data class State(var count: Int = 0)
internal data class State(var count: Int = 0)
inline fun repeatAction(times: Int, action: () -> Unit) {
internal inline fun repeatAction(times: Int, action: () -> Unit) {
for (i in 1..times) {
action()
}
}
fun add(state: State, a: Int, b: Int): Int {
internal fun add(state: State, a: Int, b: Int): Int {
@inline fun inc(a: Int): Int {
return a + 1
}