mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Remove directives that have no effect from bytecode text tests
All bytecode text tests are run with stdlib in the classpath and only for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND, IGNORE_BACKEND are not needed
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun testPrimitiveArray(ints: IntArray) =
|
||||
10 in ints.indices
|
||||
|
||||
// 0 DUP
|
||||
// 0 POP
|
||||
// 0 POP
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test(list: List<String>) {
|
||||
val result = mutableListOf<String>()
|
||||
use1 { list.forEach { result.add(it) } }
|
||||
|
||||
Reference in New Issue
Block a user