mirror of
https://github.com/servo/servo.git
synced 2025-06-09 00:53:26 +00:00
IDL `record` types can themselves contain types that are not described anywhere else. An example is in https://github.com/servo/servo/issues/37038, where the `record` contains a definition of a union. These inner types must be returned from `getAllTypes`, otherwise we won't generate code for them. This PR also adds a few type annotations. I can remove them if requested, but I think they're helpful. Testing: Includes a regression test Fixes: https://github.com/servo/servo/issues/37038 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> |
||
---|---|---|
.. | ||
api.html.template | ||
apis.html.template | ||
Bindings.conf | ||
CodegenRust.py | ||
Configuration.py | ||
interface.html.template | ||
property.html.template | ||
run.py |