mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Fix typo in the non-union code path for typedefs.
This commit is contained in:
parent
35bc171a05
commit
8a5987c1db
2 changed files with 2 additions and 1 deletions
|
@ -6127,7 +6127,7 @@ class CGBindingRoot(CGThing):
|
|||
cgthings.extend([CGGeneric("\npub use dom::bindings::codegen::UnionTypes::%s as %s;\n\n" %
|
||||
(t.innerType, t.identifier.name))])
|
||||
else:
|
||||
assert not typeNeedsRooting(t.innerType, config.getDescriptorProvider)
|
||||
assert not typeNeedsRooting(t.innerType, config.getDescriptorProvider())
|
||||
cgthings.extend([CGGeneric("\npub type %s = " % (t.identifier.name)),
|
||||
getRetvalDeclarationForType(t.innerType, config.getDescriptorProvider()),
|
||||
CGGeneric(";\n\n")])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue