Correct spelling in method name
This commit is contained in:
@@ -684,7 +684,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
|
||||
if (hasThis0) {
|
||||
final Type type = typeMapper
|
||||
.mapType(eclosingClassDescriptor(bindingContext, descriptor).getDefaultType(), JetTypeMapperMode.VALUE);
|
||||
.mapType(enclosingClassDescriptor(bindingContext, descriptor).getDefaultType(), JetTypeMapperMode.VALUE);
|
||||
String interfaceDesc = type.getDescriptor();
|
||||
iv.load(0, classType);
|
||||
iv.load(frameMap.getOuterThisIndex(), type);
|
||||
@@ -761,7 +761,7 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
if (CodegenBinding.hasThis0(bindingContext, superClassDescriptor)) {
|
||||
iv.load(1, OBJECT_TYPE);
|
||||
parameterTypes.add(typeMapper.mapType(
|
||||
eclosingClassDescriptor(bindingContext, descriptor).getDefaultType(), JetTypeMapperMode.VALUE));
|
||||
enclosingClassDescriptor(bindingContext, descriptor).getDefaultType(), JetTypeMapperMode.VALUE));
|
||||
}
|
||||
Method superCallMethod = new Method("<init>", Type.VOID_TYPE, parameterTypes.toArray(new Type[parameterTypes.size()]));
|
||||
//noinspection ConstantConditions
|
||||
|
||||
@@ -90,7 +90,7 @@ public class CodegenBinding {
|
||||
return classNameForScriptDescriptor(bindingContext, scriptDescriptor);
|
||||
}
|
||||
|
||||
public static ClassDescriptor eclosingClassDescriptor(BindingContext bindingContext, ClassDescriptor descriptor) {
|
||||
public static ClassDescriptor enclosingClassDescriptor(BindingContext bindingContext, ClassDescriptor descriptor) {
|
||||
final CalculatedClosure closure = bindingContext.get(CLOSURE, descriptor);
|
||||
return closure == null ? null : closure.getEnclosingClass();
|
||||
}
|
||||
@@ -143,7 +143,7 @@ public class CodegenBinding {
|
||||
return false;
|
||||
}
|
||||
|
||||
return eclosingClassDescriptor(bindingContext, classDescriptor) != null;
|
||||
return enclosingClassDescriptor(bindingContext, classDescriptor) != null;
|
||||
}
|
||||
|
||||
static void recordClosure(
|
||||
|
||||
Reference in New Issue
Block a user