Re: [whatwg/webidl] Rename the `async iterable` declaration to `async_iterable` to match the type name. (Issue #1504)

domenic left a comment (whatwg/webidl#1504)

We cannot use the same name for the two different concepts, because then the grammar is ambiguous (not LL(1)): you don't know whether you're parsing a declaration or a type until after you see the next token.

Note that this is solved for sync iterables by using totally different names: `iterable<>` declarations and `sequence<>` types.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1504#issuecomment-3071592618
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1504/3071592618@github.com>

Received on Tuesday, 15 July 2025 01:21:45 UTC