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 \
newObject.tag != IDLInterfaceMember.Tags.Method:
# Call the base class method, which will throw
IDLScope.resolveIdentifierConflict(self, identifier, originalObject,
newObject)
IDLScope.resolveIdentifierConflict(self, scope, identifier,
originalObject, newObject)
assert False # Not reached
retval = originalObject.addOverload(newObject)