Generate import list in codegen bindings from types used #1788
Labels
A-content/bindings
The DOM bindings
B-interesting-project
Represents work that is expected to be interesting in some fashion
We want/need to get rid of glob imports, so we're going to have to analyze all the types used by a given interface (arguments, attributes, unions, etc.) and import them instead of using
dom::bindings::codegen::*
,dom::types::*
, anddom::bindings::codegen::UnionTypes::*
. There's existing code in Gecko's codegen (Codegen.py, or possibly the one in mozilla-central) we may be able to adapt.The text was updated successfully, but these errors were encountered: