Skip to content

Commit

Permalink
servo: Merge #6496 - CGImports must consider special operations to ge…
Browse files Browse the repository at this point in the history
…nerate required 'use' items (from mukilan:fix_import_codegen); r=Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: b7923547a77a2d887805ba67f688d297e34647c1
  • Loading branch information
mukilan committed Jun 27, 2015
1 parent 68fd504 commit 5430674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions servo/components/script/dom/bindings/codegen/CodegenRust.py
Original file line number Diff line number Diff line change
Expand Up @@ -1645,6 +1645,9 @@ def getIdentifier(t):
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)
Expand Down

0 comments on commit 5430674

Please sign in to comment.