Move debugger test data to the new location
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package inlineOnly
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
myPrint("OK")
|
||||
|
||||
forEach { print2("123")}
|
||||
|
||||
println("OK") //stdlib test
|
||||
}
|
||||
|
||||
fun print2(s: String){
|
||||
val z = s;
|
||||
}
|
||||
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
@kotlin.internal.InlineOnly
|
||||
inline fun myPrint(s: String) {
|
||||
val z = s;
|
||||
}
|
||||
|
||||
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
||||
@kotlin.internal.InlineOnly
|
||||
inline fun forEach(s: () -> Unit) {
|
||||
for (i in 1..2) {
|
||||
s()
|
||||
}
|
||||
}
|
||||
|
||||
// STEP_INTO: 9
|
||||
// TRACING_FILTERS_ENABLED: false
|
||||
Reference in New Issue
Block a user