- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 11 Apr 2017 18:34:19 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 April 2017 01:34:51 UTC
Yeah, this is a follow-up. In #286 you said "ReturnType definitely shouldn't have attributes" but it's not clear exactly why. I guess because no conversion is applied in that direction, for non-callbacks. However, consider the case of the planned [AllowShared]. It seems weird to have `Uint8Array foo()` operation returning a SharedArrayBuffer-backed Uint8Array. Shouldn't you instead have written `[AllowShared] Uint8Array foo()`? (The multiple natures of types in Web IDL---documentation vs. conversion helper---strike again.) -- 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/342#issuecomment-293447179
Received on Wednesday, 12 April 2017 01:34:51 UTC