JetClass -> JetClassOrObject
This commit is contained in:
@@ -58,8 +58,8 @@ public class FunctionCodegen {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DeclarationDescriptor contextDescriptor = owner instanceof JetClass
|
DeclarationDescriptor contextDescriptor = owner instanceof JetClassOrObject
|
||||||
? bindingContext.getClassDescriptor((JetClass) owner)
|
? bindingContext.getClassDescriptor((JetClassOrObject) owner)
|
||||||
: bindingContext.getNamespaceDescriptor((JetNamespace) owner);
|
: bindingContext.getNamespaceDescriptor((JetNamespace) owner);
|
||||||
|
|
||||||
final MethodVisitor mv = v.visitMethod(flags, jvmSignature.getName(), jvmSignature.getDescriptor(), null, null);
|
final MethodVisitor mv = v.visitMethod(flags, jvmSignature.getName(), jvmSignature.getDescriptor(), null, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user