mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
Fix typo in the non-union code path for typedefs.
This commit is contained in:
@@ -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")])
|
||||
|
||||
Reference in New Issue
Block a user