Bug 816846. Correctly call up to our superclass to resolve an identifier conflict. r=khuey

This commit is contained in:
Boris Zbarsky 2012-12-10 14:28:02 -05:00
parent 32a3f4ac48
commit 1bfd3d30fe

View File

@ -473,8 +473,8 @@ class IDLInterface(IDLObjectWithScope):
if originalObject.tag != IDLInterfaceMember.Tags.Method or \ if originalObject.tag != IDLInterfaceMember.Tags.Method or \
newObject.tag != IDLInterfaceMember.Tags.Method: newObject.tag != IDLInterfaceMember.Tags.Method:
# Call the base class method, which will throw # Call the base class method, which will throw
IDLScope.resolveIdentifierConflict(self, identifier, originalObject, IDLScope.resolveIdentifierConflict(self, scope, identifier,
newObject) originalObject, newObject)
assert False # Not reached assert False # Not reached
retval = originalObject.addOverload(newObject) retval = originalObject.addOverload(newObject)