Do not serialize fake overrides
This commit is contained in:
committed by
Alexander Udalov
parent
5eb33372ae
commit
b9283f0afc
+1
@@ -74,6 +74,7 @@ public class DescriptorSerializer {
|
|||||||
// TODO: other than functions
|
// TODO: other than functions
|
||||||
if (descriptor instanceof FunctionDescriptor) {
|
if (descriptor instanceof FunctionDescriptor) {
|
||||||
FunctionDescriptor function = (FunctionDescriptor) descriptor;
|
FunctionDescriptor function = (FunctionDescriptor) descriptor;
|
||||||
|
if (function.getKind() == CallableMemberDescriptor.Kind.FAKE_OVERRIDE) continue;
|
||||||
builder.addMembers(local.functionProto(function));
|
builder.addMembers(local.functionProto(function));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user