mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Fix Const IDL value compilation errors in codegen
This commit is contained in:
parent
2bcb3b4ca9
commit
3ed5899a64
2 changed files with 20 additions and 3 deletions
|
@ -151,6 +151,13 @@ interface TestBinding {
|
|||
[BinaryName="BinaryRenamedAttribute2"] attribute DOMString attr-to-binary-rename;
|
||||
attribute DOMString attr-to-automatically-rename;
|
||||
|
||||
const long long constantInt64 = -1;
|
||||
const unsigned long long constantUint64 = 1;
|
||||
const float constantFloat32 = 1.0;
|
||||
const double constantFloat64 = 1.0;
|
||||
const unrestricted float constantUnrestrictedFloat32 = 1.0;
|
||||
const unrestricted double constantUnrestrictedFloat64 = 1.0;
|
||||
|
||||
[PutForwards=booleanAttribute]
|
||||
readonly attribute TestBinding forwardedAttribute;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue