Re: [whatwg/webidl] Normative: Rename integer types to match ECMAScript typed arrays (#1030)

@saschanaz commented on this pull request.



>  represented with <emu-t class="regex"><a href="#prod-integer">integer</a></emu-t>
 tokens.
 
 The [=type name=] of the
-{{unsigned short}} type is "<code>UnsignedShort</code>".
+{{uint16}} type is "<code>Uint16</code>".
+
+For legacy compatibility, <code>unsigned short</code> is to be treated
+as an alias for {{uint16}}, similar to:
+
+<pre>
+    typedef (uint16) unsigned short;

I believe this causes syntax error, and not sure it's really needed. Each parser implementation can support both form while autofixes by @autokagami land. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1030#pullrequestreview-799490240

Received on Sunday, 7 November 2021 02:06:17 UTC