Evaluator: Support 'field' variable evaluation for top-level properties
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package staticField
|
||||
|
||||
fun main() {
|
||||
x
|
||||
}
|
||||
|
||||
val x: String = "x"
|
||||
//Breakpoint!
|
||||
get() = "foo" + field
|
||||
|
||||
// EXPRESSION: field
|
||||
// RESULT: "x": Ljava/lang/String;
|
||||
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at staticField.kt:9
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
staticField.kt:9
|
||||
Compile bytecode for field
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user