Evaluator: Support delegated local variables
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package delegatedVariables
|
||||
|
||||
fun main() {
|
||||
val a by lazy { "foo" }
|
||||
//Breakpoint!
|
||||
val b = a
|
||||
}
|
||||
|
||||
// EXPRESSION: a
|
||||
// RESULT: "foo": Ljava/lang/String;
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at delegatedVariables.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
delegatedVariables.kt:6
|
||||
Compile bytecode for a
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user