IDL micro-syntax Re: [ReSpec] release 23.2.0

> On Oct 9, 2018, at 6:20 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 
> On Sun, Oct 7, 2018 at 6:56 PM Marcos Caceres <mcaceres@mozilla.com> wrote:
>>> On Oct 6, 2018, at 7:17 AM, mcaceres@mozilla.com wrote:
>>> 
> 
> Wait, that's not necessarily what I meant - without it, how do you
> refer to an enum value like "foo bar”?

I wasn’t able to come up with a case for that, as for enums I was expecting for instance:

> If {{{ window.screen.orientation.type }}} is "landscape-primary", then do Y. 

Do you mean for a `maplike` or `setlike`? For those I thought calling `.set\get()` would be appropriate.

> {{{ foo.bar.maplikebar.set("enumvalue", otherArg) }}}

Do you have a particular case from a spec in mind? 

Received on Monday, 8 October 2018 23:49:47 UTC