mirror of
https://github.com/servo/servo.git
synced 2025-06-10 01:23:13 +00:00
Support sequences of sequences in generated bindings. This fixes a blocker for #11897. `unroll` recursively gets the inner type of any sequence type encountered, so it's inappropriate for codegen that only wants the immediate inner type. However, if a type identifies as a sequence and is nullable, we need to reach through the nullable wrapper first. Gecko does very similar things. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12528 (github issue number if applicable). - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12541) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
parser | ||
ply | ||
api.html.template | ||
apis.html.template | ||
BindingGen.py | ||
Bindings.conf | ||
CodegenRust.py | ||
Configuration.py | ||
GlobalGen.py | ||
interface.html.template | ||
property.html.template |