mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
CGImports must consider special operations to generate required 'use' items
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user