fix tests in org.jetbrains.kotlin.js.test.semantics
This commit is contained in:
@@ -3,15 +3,15 @@ package foo
|
||||
// CHECK_CONTAINS_NO_CALLS: identity
|
||||
// CHECK_CONTAINS_NO_CALLS: sumNoInline
|
||||
|
||||
inline fun sum(a: Int, b: Int = 0): Int {
|
||||
internal inline fun sum(a: Int, b: Int = 0): Int {
|
||||
return a + b
|
||||
}
|
||||
|
||||
fun identity(a: Int): Int {
|
||||
internal fun identity(a: Int): Int {
|
||||
return sum(a)
|
||||
}
|
||||
|
||||
fun sumNoInline(a: Int, b: Int): Int {
|
||||
internal fun sumNoInline(a: Int, b: Int): Int {
|
||||
return sum(a, b)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user