- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 18 Dec 2018 07:29:50 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 December 2018 15:30:13 UTC
Instead of
```webidl
foo(optional dictionaryType arg);
```
perhaps we should require writing
```webidl
foo(optional dictionaryType arg = {});
```
for consistency with other optional arguments and for clarity for the reader. At least anecdotally this seems to be one of the most confusing things about IDL that's not a legacy feature.
--
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/602
Received on Tuesday, 18 December 2018 15:30:13 UTC