Skip to content

Commit 04346ea

Browse files
committed
fixup! fixup! Normative: Rename integer types to match ECMAScript typed arrays
1 parent c4887fd commit 04346ea

File tree

1 file changed

+13
-45
lines changed

1 file changed

+13
-45
lines changed

index.bs

+13-45
Original file line numberDiff line numberDiff line change
@@ -5727,16 +5727,16 @@ type.
57275727
"undefined"
57285728
"boolean"
57295729
"byte"
5730+
"int8"
5731+
"int16"
5732+
"int32"
5733+
"int64"
57305734
"octet"
5731-
"bigint"
57325735
"uint8"
57335736
"uint16"
57345737
"uint32"
57355738
"uint64"
5736-
"int8"
5737-
"int16"
5738-
"int32"
5739-
"int64"
5739+
"bigint"
57405740
</pre>
57415741

57425742
<pre class="grammar" id="prod-UnrestrictedFloatType">
@@ -5858,11 +5858,7 @@ The [=type name=] of the
58585858
{{int8}} type is "<code>Int8</code>".
58595859

58605860
For legacy compatibility, <code>byte</code> is to be treated
5861-
as an alias for {{int8}}, similar to:
5862-
5863-
<pre>
5864-
typedef (int8) byte;
5865-
</pre>
5861+
as an alias for {{int8}}.
58665862

58675863

58685864
<h4 id="idl-uint8" oldids="dom-octet,idl-octet" interface>uint8</h4>
@@ -5878,11 +5874,7 @@ The [=type name=] of the
58785874
{{uint8}} type is "<code>Uint8</code>".
58795875

58805876
For legacy compatibility, <code>octet</code> is to be treated
5881-
as an alias for {{uint8}}, similar to:
5882-
5883-
<pre>
5884-
typedef (uint8) octet;
5885-
</pre>
5877+
as an alias for {{uint8}}.
58865878

58875879

58885880
<h4 id="idl-int16" oldids="dom-short,idl-short" interface>int16</h4>
@@ -5898,11 +5890,7 @@ The [=type name=] of the
58985890
{{int16}} type is "<code>Int16</code>".
58995891

59005892
For legacy compatibility, <code>short</code> is to be treated
5901-
as an alias for {{int16}}, similar to:
5902-
5903-
<pre>
5904-
typedef (int16) short;
5905-
</pre>
5893+
as an alias for {{int16}}.
59065894

59075895

59085896
<h4 id="idl-uint16" oldids="dom-unsignedshort,idl-unsigned-short" interface>uint16</h4>
@@ -5918,11 +5906,7 @@ The [=type name=] of the
59185906
{{uint16}} type is "<code>Uint16</code>".
59195907

59205908
For legacy compatibility, <code>unsigned short</code> is to be treated
5921-
as an alias for {{uint16}}, similar to:
5922-
5923-
<pre>
5924-
typedef (uint16) unsigned short;
5925-
</pre>
5909+
as an alias for {{uint16}}.
59265910

59275911

59285912
<h4 id="idl-int32" oldids="dom-long,idl-long" interface>int32</h4>
@@ -5938,11 +5922,7 @@ The [=type name=] of the
59385922
{{int32}} type is "<code>Int32</code>".
59395923

59405924
For legacy compatibility, <code>long</code> is to be treated
5941-
as an alias for {{int32}}, similar to:
5942-
5943-
<pre>
5944-
typedef (int32) long;
5945-
</pre>
5925+
as an alias for {{int32}}.
59465926

59475927

59485928
<h4 id="idl-uint32" oldids="dom-unsignedlong,idl-unsigned-long" interface>uint32</h4>
@@ -5958,11 +5938,7 @@ The [=type name=] of the
59585938
{{uint32}} type is "<code>Uint32</code>".
59595939

59605940
For legacy compatibility, <code>unsigned long</code> is to be treated
5961-
as an alias for {{uint32}}, similar to:
5962-
5963-
<pre>
5964-
typedef (uint32) unsigned long;
5965-
</pre>
5941+
as an alias for {{uint32}}.
59665942

59675943

59685944
<h4 id="idl-int64" oldids="dom-longlong,idl-long-long" interface>int64</h4>
@@ -5978,11 +5954,7 @@ The [=type name=] of the
59785954
{{int64}} type is "<code>Int64</code>".
59795955

59805956
For legacy compatibility, <code>long long</code> is to be treated
5981-
as an alias for {{int64}}, similar to:
5982-
5983-
<pre>
5984-
typedef (int64) long long;
5985-
</pre>
5957+
as an alias for {{int64}}.
59865958

59875959

59885960
<h4 id="idl-uint64" oldids="dom-unsignedlonglong,idl-unsigned-long-long" interface>uint64</h4>
@@ -5998,11 +5970,7 @@ The [=type name=] of the
59985970
{{uint64}} type is "<code>Uint64</code>".
59995971

60005972
For legacy compatibility, <code>unsigned long long</code> is to be treated
6001-
as an alias for {{uint64}}, similar to:
6002-
6003-
<pre>
6004-
typedef (uint64) unsigned long long;
6005-
</pre>
5973+
as an alias for {{uint64}}.
60065974

60075975

60085976
<h4 oldids="dom-float" id="idl-float" interface>float</h4>

0 commit comments

Comments
 (0)