mirror of
https://github.com/servo/servo.git
synced 2025-09-18 19:08:22 +01:00
Properly generate typedef identities in unions
This commit is contained in:
parent
3631e314b9
commit
3976d974fc
4 changed files with 23 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
|||
// web pages.
|
||||
|
||||
enum TestEnum { "", "foo", "bar" };
|
||||
typedef (DOMString or URL or Blob) TestTypedef;
|
||||
|
||||
dictionary TestDictionary {
|
||||
required boolean requiredValue;
|
||||
|
@ -241,6 +242,8 @@ interface TestBinding {
|
|||
void passUnion6((unsigned long or boolean) bool);
|
||||
void passUnion7((sequence<DOMString> or unsigned long) arg);
|
||||
void passUnion8((sequence<ByteString> or long) arg);
|
||||
void passUnionWithTypedef((Document or TestTypedef) arg);
|
||||
void passUnionWithTypedef2((sequence<long> or TestTypedef) arg);
|
||||
void passAny(any arg);
|
||||
void passObject(object arg);
|
||||
void passCallbackFunction(Function fun);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue