aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-09-23 21:31:57 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-09-24 00:01:57 -0400
commit72f4cdb2b4221658b4c85b33394377081ffae6bb (patch)
treeb7da587095e4bc604b159d2da7241d13a8c2d3ce /doc
parent0f3111379b940823090b3a0e540aa04fac64dc5b (diff)
downloadzig-72f4cdb2b4221658b4c85b33394377081ffae6bb.tar.gz
zig-72f4cdb2b4221658b4c85b33394377081ffae6bb.zip
docs: update implementation status for @Type()
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in23
1 files changed, 8 insertions, 15 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index dce23a43e4..504a4e02e2 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -8467,30 +8467,23 @@ test "integer truncation" {
<li>{#syntax#}@TypeOf(null){#endsyntax#}</li>
<li>{#link|Arrays#}</li>
<li>{#link|Optionals#}</li>
+ <li>{#link|Error Set Type#}</li>
<li>{#link|Error Union Type#}</li>
<li>{#link|Vectors#}</li>
<li>{#link|Opaque Types#}</li>
- <li>AnyFrame</li>
- </ul>
- <p>
- For these types it is a
- <a href="https://github.com/ziglang/zig/issues/2907">TODO in the compiler to implement</a>:
- </p>
- <ul>
- <li>ErrorSet</li>
- <li>Enum</li>
- <li>FnFrame</li>
- <li>EnumLiteral</li>
+ <li>{#link|@Frame#}</li>
+ <li>{#syntax#}anyframe{#endsyntax#}</li>
+ <li>{#link|struct#}</li>
+ <li>{#link|enum#}</li>
+ <li>{#link|Enum Literals#}</li>
+ <li>{#link|union#}</li>
</ul>
<p>
- For these types, {#syntax#}@Type{#endsyntax#} is not available.
- <a href="https://github.com/ziglang/zig/issues/383">There is an open proposal to allow unions and structs</a>.
+ For these types, {#syntax#}@Type{#endsyntax#} is not available:
</p>
<ul>
- <li>{#link|union#}</li>
<li>{#link|Functions#}</li>
<li>BoundFn</li>
- <li>{#link|struct#}</li>
</ul>
{#header_close#}
{#header_open|@typeInfo#}