Fix breakpoints in function literals in inline calls (KT-11521, KT-12734, KT-12470)
#KT-11521 Fixed #KT-12734 Fixed #KT-12470 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
59a349a4ae
commit
1889f4f7b1
@@ -221,7 +221,7 @@ public class MethodInliner {
|
||||
|
||||
if (invokeCall.lambdaInfo.getFunctionDescriptor().getValueParameters().isEmpty()) {
|
||||
// There won't be no parameters processing and line call can be left without actual instructions.
|
||||
// Note: if function is called on the line with other instructions like 1 + foo() no will still be generated.
|
||||
// Note: if function is called on the line with other instructions like 1 + foo(), 'nop' will still be generated.
|
||||
visitInsn(Opcodes.NOP);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user