Debugger: Fix evaluation on value parameter name position (KT-30976)
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package valueParameterName
|
||||
|
||||
fun main() {
|
||||
"foo".foo()
|
||||
}
|
||||
|
||||
fun String.foo() {
|
||||
val a = Foo(
|
||||
a = this
|
||||
)
|
||||
val b = Foo(
|
||||
//Breakpoint!
|
||||
a = this
|
||||
)
|
||||
}
|
||||
|
||||
private class Foo(val a: String)
|
||||
|
||||
// EXPRESSION: this
|
||||
// RESULT: "foo": Ljava/lang/String;
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at valueParameterName.kt:13
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
valueParameterName.kt:13
|
||||
Compile bytecode for this
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user