Re: [heycam/webidl] void -> undefined, and allow it anywhere. (#906)

@tabatkins commented on this pull request.



> @@ -1791,11 +1791,17 @@ The following extended attributes are applicable to constants:
 
 <pre class="grammar" id="prod-ConstValue">
     ConstValue :
+        UndefinedLiteral

> Does this PR uses the new literal elsewhere? I think this is the only use.

No, this is it. But the other primitives all have a literal, except null (which is a little weird, but it's handled as a type annotation rather than a type on its own, so eh).

I could remove this if necessary, it just seemed nice.

-- 
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/pull/906#discussion_r466746037

Received on Thursday, 6 August 2020 23:54:34 UTC