author | Boris Kudryavtsev <boriskk.work@gmail.com> |
Tue, 02 Jun 2015 12:17:00 +0200 | |
changeset 251125 | 70839bf0a04edf081b554e16072272dca42c6a9d |
parent 251124 | 8277d0a1f7b47e4dfd8c7bc6b7ca5a1ac02fd8b6 |
child 251126 | 76b1bf603f537d76c79f772e72ea21d3460c5315 |
push id | 61768 |
push user | cbook@mozilla.com |
push date | Thu, 02 Jul 2015 14:18:18 +0000 |
treeherder | mozilla-inbound@70839bf0a04e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | khuey |
bugs | 1155968 |
milestone | 42.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/xpcom/idl-parser/xpidl.py +++ b/xpcom/idl-parser/xpidl.py @@ -568,17 +568,17 @@ class Interface(object): return "".join(l) def getConst(self, name, location): # The constant may be in a base class iface = self while name not in iface.namemap and iface is not None: iface = self.idl.getName(self.base, self.location) if iface is None: - raise IDLError("cannot find symbol '%s'" % name, c.location) + raise IDLError("cannot find symbol '%s'" % name) c = iface.namemap.get(name, location) if c.kind != 'const': raise IDLError("symbol '%s' is not a constant", c.location) return c.getValue() def needsJSTypes(self): for m in self.members: