Debugger: Do not assume we are inside the class body when in '}' (KT-15259)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package kt15259
|
||||
|
||||
interface ObjectFace
|
||||
|
||||
private fun makeFace() = object : ObjectFace {
|
||||
//Breakpoint!
|
||||
}
|
||||
|
||||
fun main() {
|
||||
makeFace()
|
||||
}
|
||||
|
||||
// EXPRESSION: this
|
||||
// RESULT: 'this' is not defined in this context
|
||||
@@ -0,0 +1,7 @@
|
||||
LineBreakpoint created at kt15259.kt:7
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
kt15259.kt:7
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user