fix tests in org.jetbrains.kotlin.js.test.semantics
This commit is contained in:
+2
-2
@@ -3,9 +3,9 @@ package foo
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: scope=test function=even
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: scope=test function=filter_azvtw4$
|
||||
|
||||
fun even(x: Int) = x % 2 == 0
|
||||
internal fun even(x: Int) = x % 2 == 0
|
||||
|
||||
fun test(a: List<Int>) = a.filter(::even)
|
||||
internal fun test(a: List<Int>) = a.filter(::even)
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(listOf(2, 4), test(listOf(1, 2, 3, 4)))
|
||||
|
||||
Reference in New Issue
Block a user