Re: [heycam/webidl] Allow ReturnTypes to have extended attributes associated with them (#342)

> In #286 you said "ReturnType definitely shouldn't have attributes" but it's not clear exactly why.

Because then the grammar would be ambiguous with attributes on the operation itself and become unparseable.

You can have attributes on the operation that get forwarded to the return type, sort of like the setup we have for dictionary members.  That would be a reasonable thing to do.

-- 
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-293448685

Received on Wednesday, 12 April 2017 01:46:21 UTC