mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Fix invalid dictionary inheritance
This commit is contained in:
parent
8bab1cd7a4
commit
4c99a85c73
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue