mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Support declaring keyword property Gecko coverage as inexhaustive.
This allows us to control whether the catchall case in the match expression that maps Gecko const to Servo enum will be generated. MozReview-Commit-ID: L65IjTONdfl
This commit is contained in:
parent
75418b7005
commit
0ff7b5f2de
9 changed files with 21 additions and 4 deletions
|
@ -329,7 +329,7 @@
|
|||
keyword_kwargs = {a: kwargs.pop(a, None) for a in [
|
||||
'gecko_constant_prefix', 'gecko_enum_prefix',
|
||||
'extra_gecko_values', 'extra_servo_values',
|
||||
'custom_consts',
|
||||
'custom_consts', 'gecko_inexhaustive',
|
||||
]}
|
||||
%>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue