-
Notifications
You must be signed in to change notification settings - Fork 174
Update all examples, and the lt for the type, to the new underscore'd token #1500
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
Conversation
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.
Thanks!
…es to the declaration.
Thanks for catching that I'd accidentally caught some of the iterable declarations. Reverted back. Changed over to |
Ughhhh, no, this still violates LL(1). I misread the restriction - it's not that an entire production can't be a prefix to another production, it's that no two productions in an alternative can share a prefix. Guess it'll have to be |
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.
@domenic @MattiasBuelens any final thoughts? Changes look reasonable to me.
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.
LGTM.
So we landed on async_sequence<T>
for the type (with underscore) and async iterable<T>
for the declaration (with space)?
Ah, I suggested making both use underscores in #1504. I don't think @tabatkins has had a chance to see that yet. |
All right, updated to make both use underscores - |
We should probably include the PR template now. I suspect we can mostly reuse #1489 except if bugs have already been fixed. There's also a build failure remaining. |
Right, now that this PR isn't just a typo fix but an actual change, let's fill in the boilerplate properly. ^_^ Done. The build failure will also go away if you kick it; Bikeshed updated its data files to prevent this issue. |
This changes the
async_iterable<>
type toasync_sequence<>
, to avoid confusion with the interface declaration, and change theasync iterable<>
interface declaration toasync_iterable<>
, to avoid future LL(1) issues.async iterable
declaration toasync_iterable
to match the type name. #1504)async iterable
should be converted toasync_iterable
denoland/deno#30020async_iterable<T>
WebIDL type nodejs/node#54175 (comment)async_sequence<T>
type w3c/webidl2.js#775 (comment)Preview | Diff