Skip to content

Commit 72f4cdb

Browse files
ifreundandrewrk
authored andcommitted
docs: update implementation status for @type()
1 parent 0f31113 commit 72f4cdb

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

doc/langref.html.in

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8467,30 +8467,23 @@ test "integer truncation" {
84678467
<li>{#syntax#}@TypeOf(null){#endsyntax#}</li>
84688468
<li>{#link|Arrays#}</li>
84698469
<li>{#link|Optionals#}</li>
8470+
<li>{#link|Error Set Type#}</li>
84708471
<li>{#link|Error Union Type#}</li>
84718472
<li>{#link|Vectors#}</li>
84728473
<li>{#link|Opaque Types#}</li>
8473-
<li>AnyFrame</li>
8474-
</ul>
8475-
<p>
8476-
For these types it is a
8477-
<a href="https://github.com/ziglang/zig/issues/2907">TODO in the compiler to implement</a>:
8478-
</p>
8479-
<ul>
8480-
<li>ErrorSet</li>
8481-
<li>Enum</li>
8482-
<li>FnFrame</li>
8483-
<li>EnumLiteral</li>
8474+
<li>{#link|@Frame#}</li>
8475+
<li>{#syntax#}anyframe{#endsyntax#}</li>
8476+
<li>{#link|struct#}</li>
8477+
<li>{#link|enum#}</li>
8478+
<li>{#link|Enum Literals#}</li>
8479+
<li>{#link|union#}</li>
84848480
</ul>
84858481
<p>
8486-
For these types, {#syntax#}@Type{#endsyntax#} is not available.
8487-
<a href="https://github.com/ziglang/zig/issues/383">There is an open proposal to allow unions and structs</a>.
8482+
For these types, {#syntax#}@Type{#endsyntax#} is not available:
84888483
</p>
84898484
<ul>
8490-
<li>{#link|union#}</li>
84918485
<li>{#link|Functions#}</li>
84928486
<li>BoundFn</li>
8493-
<li>{#link|struct#}</li>
84948487
</ul>
84958488
{#header_close#}
84968489
{#header_open|@typeInfo#}

0 commit comments

Comments
 (0)