Generate linenumberts in objects clinit
This commit is contained in:
@@ -999,6 +999,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
|
||||
// Invoke the object constructor but ignore the result because INSTANCE$ will be initialized in the first line of <init>
|
||||
InstructionAdapter v = createOrGetClInitCodegen().v;
|
||||
markLineNumberForSyntheticFunction(descriptor, v);
|
||||
v.anew(classAsmType);
|
||||
v.invokespecial(classAsmType.getInternalName(), "<init>", "()V", false);
|
||||
if (isCompanionObjectWithBackingFieldsInOuter(descriptor)) {
|
||||
|
||||
@@ -31,6 +31,7 @@ fwBackingField.kt:38
|
||||
fwBackingField.kt:62
|
||||
fwBackingField.kt:45
|
||||
fwBackingField.kt:48
|
||||
fwBackingField.kt:43
|
||||
fwBackingField.kt:62
|
||||
fwBackingField.kt:45
|
||||
fwBackingField.kt:51
|
||||
|
||||
Reference in New Issue
Block a user