Mark line numbers for bridges in closures

This commit is contained in:
Natalia Ukhorskaya
2014-11-11 19:04:20 +03:00
parent 0a97481184
commit dab9411c5d
3 changed files with 51 additions and 4 deletions
@@ -245,6 +245,8 @@ public class ClosureCodegen extends ParentCodegenAware {
mv.visitCode();
InstructionAdapter iv = new InstructionAdapter(mv);
ImplementationBodyCodegen.markLineNumberForSyntheticFunction(DescriptorUtils.getParentOfType(funDescriptor, ClassDescriptor.class), iv);
iv.load(0, asmType);
ReceiverParameterDescriptor receiver = funDescriptor.getExtensionReceiverParameter();