Debugger tests: do not print line numbers in stdlib
This commit is contained in:
+6
-1
@@ -5,6 +5,7 @@ fun main(args: Array<String>) {
|
||||
customLib.twoFunDifferentSignature.twoFunDifferentSignatureFun()
|
||||
customLib.property.foo
|
||||
customLib.breakpointOnLocalProperty.breakpointOnLocalPropertyFun()
|
||||
customLib.simpleLibFile.foo()
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public fun oneFunSameFileNameFun(): Int {
|
||||
@@ -21,4 +22,8 @@ fun main(args: Array<String>) {
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: 1.kt:public fun breakpointOnLocalPropertyFun(): Int {
|
||||
// EXPRESSION: 1 + 4
|
||||
// RESULT: 5: I
|
||||
// RESULT: 5: I
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: simpleLibFile.kt:public fun foo() {
|
||||
// EXPRESSION: 1 + 5
|
||||
// RESULT: 6: I
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
package stdlibDelegatedProperty
|
||||
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
var prop: Int by Delegates.notNull()
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
prop = 3
|
||||
val a = prop
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: Delegation.kt:public override fun set(thisRef: Any?, desc: PropertyMetadata, value: T) {
|
||||
|
||||
// EXPRESSION: value.toString()
|
||||
// RESULT: "3": Ljava/lang/String;
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
package stdlibRange
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A().rangeTo(A()).contains(A())
|
||||
}
|
||||
|
||||
class A: Comparable<A> {
|
||||
override fun compareTo(other: A) = 0
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: Ranges.kt:override fun contains(item: T): Boolean {
|
||||
|
||||
// EXPRESSION: start <= item
|
||||
// RESULT: 1: Z
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
package stdlibSlice
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val c: CharSequence = "CharSequence"
|
||||
c.slice(0..1)
|
||||
}
|
||||
|
||||
// ADDITIONAL_BREAKPOINT: StringsJVM.kt:CharSequence.slice(range: IntRange): CharSequence
|
||||
|
||||
// EXPRESSION: range.start
|
||||
// RESULT: 0: I
|
||||
Reference in New Issue
Block a user