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,7 +2,7 @@ package foo
// CHECK_CONTAINS_NO_CALLS: add
data class IntPair(public var fst: Int, public var snd: Int) {
internal data class IntPair(public var fst: Int, public var snd: Int) {
inline public fun getFst(): Int { return fst }
inline public fun setFst(v: Int) { fst = v }
@@ -10,7 +10,7 @@ data class IntPair(public var fst: Int, public var snd: Int) {
inline public fun setSnd(v: Int) { this.snd = v }
}
fun add(p: IntPair, toFst: Int, toSnd: Int) {
internal fun add(p: IntPair, toFst: Int, toSnd: Int) {
val fst = p.getFst()
p.setFst(fst + toFst)