mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901116. Give a better error message if the same name is typedeffed twice in WebIDL. r=khuey
We could also switch typedefs to using IDLWrapperType, but this seems like a smaller and still-sane change.
This commit is contained in:
parent
e077229d95
commit
2ad03e9425
@ -243,7 +243,7 @@ class IDLScope(IDLObject):
|
||||
return
|
||||
|
||||
# ensureUnique twice with the same object is not allowed
|
||||
assert object != self._dict[identifier.name]
|
||||
assert id(object) != id(self._dict[identifier.name])
|
||||
|
||||
replacement = self.resolveIdentifierConflict(self, identifier,
|
||||
self._dict[identifier.name],
|
||||
|
Loading…
Reference in New Issue
Block a user