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
<li>If a call to {#syntax#}@import{#endsyntax#} is analyzed, the file being imported is analyzed.</li>
6555
-
<li>If a type (including a file) is analyzed, all {#syntax#}comptime{#endsyntax#}, {#syntax#}usingnamespace{#endsyntax#}, and {#syntax#}export{#endsyntax#} declarations within it are analyzed.</li>
6517
+
<li>If a type (including a file) is analyzed, all {#syntax#}comptime{#endsyntax#} and {#syntax#}export{#endsyntax#} declarations within it are analyzed.</li>
6556
6518
<li>If a type (including a file) is analyzed, and the compilation is for a {#link|test|Zig Test#}, and the module the type is within is the root module of the compilation, then all {#syntax#}test{#endsyntax#} declarations within it are also analyzed.</li>
6557
6519
<li>If a reference to a named declaration (i.e. a usage of it) is analyzed, the declaration being referenced is analyzed. Declarations are order-independent, so this reference may be above or below the declaration being referenced, or even in another file entirely.</li>
6558
6520
</ul>
@@ -7372,29 +7334,6 @@ fn readU32Be() u32 {}
7372
7334
</ul>
7373
7335
</td>
7374
7336
</tr>
7375
-
<tr>
7376
-
<th scope="row">
7377
-
<pre>{#syntax#}async{#endsyntax#}</pre>
7378
-
</th>
7379
-
<td>
7380
-
{#syntax#}async{#endsyntax#} can be used before a function call to get a pointer to the function's frame when it suspends.
7381
-
<ul>
7382
-
<li>See also {#link|Async Functions#}</li>
7383
-
</ul>
7384
-
</td>
7385
-
</tr>
7386
-
<tr>
7387
-
<th scope="row">
7388
-
<pre>{#syntax#}await{#endsyntax#}</pre>
7389
-
</th>
7390
-
<td>
7391
-
{#syntax#}await{#endsyntax#} can be used to suspend the current function until the frame provided after the {#syntax#}await{#endsyntax#} completes.
7392
-
{#syntax#}await{#endsyntax#} copies the value returned from the target function's frame to the caller.
7393
-
<ul>
7394
-
<li>See also {#link|Async Functions#}</li>
7395
-
</ul>
7396
-
</td>
7397
-
</tr>
7398
7337
<tr>
7399
7338
<th scope="row">
7400
7339
<pre>{#syntax#}break{#endsyntax#}</pre>
@@ -7812,18 +7751,6 @@ fn readU32Be() u32 {}
7812
7751
</ul>
7813
7752
</td>
7814
7753
</tr>
7815
-
<tr>
7816
-
<th scope="row">
7817
-
<pre>{#syntax#}usingnamespace{#endsyntax#}</pre>
7818
-
</th>
7819
-
<td>
7820
-
{#syntax#}usingnamespace{#endsyntax#} is a top-level declaration that imports all the public declarations of the operand,
7821
-
which must be a struct, union, or enum, into the current scope.
0 commit comments