Re: [whatwg/webidl] Document what defaults are ok for dictionary values. (PR #1215)

This is kind of messy since the section you're modifying is defining the concept of default value, whereas the thing you're referencing is the grammar production for how default values manifest in the syntax. The syntax is discussed below already:

> If the identifier is followed by a U+003D EQUALS SIGN ("=") and a value (matching [DefaultValue](https://whatpr.org/webidl/1215.html#prod-DefaultValue)), then that gives the dictionary member its [default value](https://whatpr.org/webidl/1215.html#dfn-dictionary-member-default-value).

I assume you're doing this because the existing text was not clear to someone, so that probably means we should try to make default values clearer in some way, but I'm hesitant to do so by duplicating the "what is a default value's syntax" parts of the spec into the semantics parts.

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

Message ID: <whatwg/webidl/pull/1215/c1275462245@github.com>

Received on Wednesday, 12 October 2022 01:20:02 UTC