Re: [heycam/webidl] Clarify nullable types for constants (#447)

tobie commented on this pull request.



> @@ -5508,8 +5513,8 @@ the string “OrNull”.
     is written as <code class="idl">boolean?</code>:
 
     <pre highlight="webidl">
-        interface MyConstants {
-          const boolean? ARE_WE_THERE_YET = false;
+        interface NetworkFetcher {
+          void get(optional boolean? areWeThereYet = false);

Oops. Sorry. I didn't know we had const scattered across examples in the spec. :-/

-- 
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/447#discussion_r140607651

Received on Friday, 22 September 2017 22:16:42 UTC