Move debugger test data to the new location
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
@file:JvmName("ABC")
|
||||
package a
|
||||
|
||||
fun foo() {
|
||||
"" // a.ABC
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
"" // _DefaultPackageKt
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
fun foo() {
|
||||
{
|
||||
"" // A\$foo\$1
|
||||
}()
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package insertInBlock
|
||||
|
||||
fun foo() {
|
||||
val lambda = {
|
||||
val a = 1 // insertInBlock.AnonymousNamedFunctionKt\$foo\$lambda\$1
|
||||
}()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class A {
|
||||
val x = go() // A
|
||||
|
||||
fun go() = 4 // A
|
||||
|
||||
fun foo() {
|
||||
"" // A
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
class A {
|
||||
companion object {
|
||||
|
||||
init {
|
||||
1 + 1 // A
|
||||
val a = 1 // A
|
||||
fun foo() {
|
||||
1 // A\$Companion\$1
|
||||
}
|
||||
}
|
||||
|
||||
val prop = 1 // A
|
||||
|
||||
val prop2: Int
|
||||
get() {
|
||||
val a = 1 + 1 // A\$Companion
|
||||
return 1 // A\$Companion
|
||||
}
|
||||
|
||||
val prop3: Int
|
||||
get() = 1 // A\$Companion
|
||||
|
||||
fun foo() = 1 // A\$Companion
|
||||
|
||||
fun foo2() {
|
||||
"" // A\$Companion
|
||||
|
||||
val o = object {
|
||||
val p = 1 // A\$Companion\$foo2\$o\$1
|
||||
val p2: Int
|
||||
get() {
|
||||
return 1 // A\$Companion\$foo2\$o\$1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface T {
|
||||
companion object {
|
||||
val prop = 1 // T\$Companion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
enum class E {
|
||||
;
|
||||
fun foo() {
|
||||
"" // E
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package a
|
||||
|
||||
class A {
|
||||
}
|
||||
|
||||
fun A.foo() {
|
||||
"" // a.ExtensionFunctionKt
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
fun foo() {
|
||||
{
|
||||
fun innerFoo() {
|
||||
"" // A\$foo\$1\$1
|
||||
}
|
||||
innerFoo()
|
||||
}()
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
fun foo() {
|
||||
val a = {
|
||||
fun innerFoo() {
|
||||
val b = 1 // A\$foo\$a\$1\$1
|
||||
}
|
||||
innerFoo()
|
||||
}()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A {
|
||||
class B {
|
||||
fun foo() {
|
||||
"" // A\$B
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
fun foo(): String {
|
||||
fun bar(): String {
|
||||
return "" // test.LocalFunctionKt\$foo\$1
|
||||
}
|
||||
return bar()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
"" // test/AKt
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun bar() {
|
||||
foo(); // test/BKt
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
"" // test/A1Kt
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun bar() {
|
||||
"" // test/A2Kt
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun baz() {
|
||||
"" // test/A3Kt
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun quux() {
|
||||
"" // test/A4Kt
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
object Obj {
|
||||
val x = foo() // Obj
|
||||
|
||||
fun foo(): Int {
|
||||
return 0 // Obj
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class A {
|
||||
fun foo() {
|
||||
object {
|
||||
fun bar() {
|
||||
"" // A\$foo\$1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
"" // test.PackageKt
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class A {
|
||||
val foo: Int
|
||||
get() = 5 // A
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class A {
|
||||
val foo: Int = 5 // A
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package prop
|
||||
|
||||
val foo: Int = 5 // prop.TopLevelPropertyInitializerKt
|
||||
@@ -0,0 +1,5 @@
|
||||
interface A {
|
||||
fun foo() {
|
||||
"" // A\$DefaultImpls
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
class A { fun f() {} } // test.A
|
||||
class B { fun g() {} } // test.B
|
||||
Reference in New Issue
Block a user