-
Notifications
You must be signed in to change notification settings - Fork 459
Clean up JSON #2318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up JSON #2318
Conversation
|
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
saschanaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need some time to figure this out...
| } | ||
| } | ||
| }, | ||
| "dictionaries": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is obvious...
| }, | ||
| "typedefs": { | ||
| "typedef": [ | ||
| "ArrayBufferView" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But why is this okay?
ArrayBufferView is referenced by BufferSource that we use, so technically this is needed. But somehow we have been using it after removing it...
That's done by #405 by me 7 years ago, I need to recall what I was thinking about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhh because arrayBufferViewTypes has ABV so it's okay even if it's not in IDL provided types. But then why is it okay to not remove it? Hmmmmm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh because followTypeReferences explicitly ignores anything covered by baseTypeConversionMap, so even if we have ABV we ignore it because it's part of base types.
saschanaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need some time to figure this out...
| }, | ||
| "typedefs": { | ||
| "typedef": [ | ||
| "ArrayBufferView" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhh because arrayBufferViewTypes has ABV so it's okay even if it's not in IDL provided types. But then why is it okay to not remove it? Hmmmmm.
|
Interesting, LGTM |
|
Merging because @saschanaz is a code-owner of all the changes - thanks! |
No description provided.