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
+4 -4
View File
@@ -5,7 +5,7 @@ package foo
// CHECK_CONTAINS_NO_CALLS: test2
// CHECK_CONTAINS_NO_CALLS: test3
inline fun concat(vararg strings: String): String {
internal inline fun concat(vararg strings: String): String {
var result = ""
for (string in strings) {
@@ -15,15 +15,15 @@ inline fun concat(vararg strings: String): String {
return result
}
fun test1(): String {
internal fun test1(): String {
return concat()
}
fun test2(): String {
internal fun test2(): String {
return concat("a", "b", "c")
}
fun test3(list: Array<String>): String {
internal fun test3(list: Array<String>): String {
return concat(*list)
}