Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.out
T
Yan Zhulanow 87e0a2d98c Debugger: Fix evaluation of function declarations with expression bodies (KT-32704)
Before this commit, the substituted FunctionDescriptor didn't have a source element.
As a result, 'CodeFragmentParameterAnalyzer.isCodeFragmentDeclaration' failed to recognize such a descriptor as fragment-local, and it was erroneously captured.
2019-10-24 21:33:00 +09:00

12 lines
272 B
Plaintext
Vendored

LineBreakpoint created at functionWithBodyExpression.kt:5
Run Java
Connected to the target VM
functionWithBodyExpression.kt:5
Compile bytecode for fun f2() = "f2"
f2()
// RESULT: "f2": Ljava/lang/String;
Disconnected from the target VM
Process finished with exit code 0