You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it makes sense to exclude undefined from the primitive types, and the simplest solution would be to move it in the grammar from PrimitiveType to DistinguishableType.
The text was updated successfully, but these errors were encountered:
EdgarChen
added a commit
to EdgarChen/webidl
that referenced
this issue
May 4, 2022
The grammar has (see https://webidl.spec.whatwg.org/#index-prod-PrimitiveType):
which seems to imply that
undefined
is a primitive type.Primitive types are defined as (see https://webidl.spec.whatwg.org/#dfn-primitive-type):
bigint, boolean and the numeric types
, which doesn't includeundefined
.I think it makes sense to exclude
undefined
from the primitive types, and the simplest solution would be to move it in the grammar fromPrimitiveType
toDistinguishableType
.The text was updated successfully, but these errors were encountered: