Re: [heycam/webidl] Disallow nullable Promise types. (#248)

annevk commented on this pull request.



> @@ -5741,7 +5741,7 @@ which just allows the additional value <emu-val>null</emu-val>
 to be a member of its set of values.  [=Nullable types=]
 are represented in IDL by placing a <span class="char">U+003F QUESTION MARK ("?")</span>
 character after an existing type.  The inner type must not
-be {{any}},
+be {{any}}, a [=Promise type=],
 another nullable type, or a [=union type=]

This looks incorrect. If Promise is non-nullable, the next cannot be "another nullable".

-- 
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/248#pullrequestreview-12069188

Received on Thursday, 8 December 2016 17:07:43 UTC