CGImports must consider special operations to generate required 'use' items

This commit is contained in:
Mukilan Thiyagarajan 2015-06-27 19:01:17 +05:30
parent 8892f8175d
commit 8f5265c131

View file

@ -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)