mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
CGImports must consider special operations to generate required 'use' items
This commit is contained in:
parent
8892f8175d
commit
8f5265c131
1 changed files with 3 additions and 0 deletions
|
@ -1645,6 +1645,9 @@ class CGImports(CGWrapper):
|
|||
if constructor:
|
||||
members += [constructor]
|
||||
|
||||
if d.proxy:
|
||||
members += [o for o in d.operations.values() if o]
|
||||
|
||||
for m in members:
|
||||
if m.isMethod():
|
||||
types += relatedTypesForSignatures(m)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue