- From: Timothy Gu <notifications@github.com>
- Date: Tue, 10 Aug 2021 14:11:16 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 August 2021 21:11:28 UTC
The tricky part here is that we need to convert _V_ to the eventual target type (whether that be a union type as here, or a nullable type, or an annotated type) without getting the `@@iterator` property again. We could potentially add an optional "iterator getter _method_" parameter to the algorithm ["converting an ECMAScript value to an IDL value"](https://heycam.github.io/webidl/#dfn-convert-ecmascript-to-idl-value), and pass that value through the conversion algorithms for union types, nullable types, and annotated types. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/1009#issuecomment-896318999
Received on Tuesday, 10 August 2021 21:11:28 UTC