mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
langref: correct info about type info of declarations
This commit is contained in:
parent
9f6b9850ac
commit
be097cdba8
1 changed files with 8 additions and 3 deletions
|
|
@ -9507,9 +9507,14 @@ test "integer truncation" {
|
||||||
Provides type reflection.
|
Provides type reflection.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
For {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
|
Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
|
||||||
{#link|error sets|Error Set Type#}, the fields are guaranteed to be in the same
|
{#link|error sets|Error Set Type#} has fields which are are guaranteed to be in the same
|
||||||
order as declared. For declarations, the order is unspecified.
|
order as appearance in the source file.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
|
||||||
|
{#link|opaques|opaque#} has declarations, which are also guaranteed to be in the same
|
||||||
|
order as appearance in the source file.
|
||||||
</p>
|
</p>
|
||||||
{#header_close#}
|
{#header_close#}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue