diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-12-14 00:53:21 +0100 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-12-14 00:53:21 +0100 |
commit | 4c99a85c736c54f9ecddbcb1a577309c4be38edf (patch) | |
tree | 7a2c79ff08b9d0b46bb1bb85334816aff28e67bb /components/script/dom | |
parent | 8bab1cd7a4634618d18985d273c6997984919ecc (diff) | |
download | servo-4c99a85c736c54f9ecddbcb1a577309c4be38edf.tar.gz servo-4c99a85c736c54f9ecddbcb1a577309c4be38edf.zip |
Fix invalid dictionary inheritance
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index f947b0b2f80..1e8033c7347 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -1011,7 +1011,8 @@ def getJSToNativeConversionInfo(type, descriptorProvider, failureCode=None, # There are no nullable dictionaries assert not type.nullable() - typeName = CGDictionary.makeDictionaryName(type.inner) + typeName = "%s::%s" % (CGDictionary.makeModuleName(type.inner), + CGDictionary.makeDictionaryName(type.inner)) declType = CGGeneric(typeName) template = ("match %s::new(cx, ${val}) {\n" " Ok(dictionary) => dictionary,\n" |