| ... | @@ -3472,7 +3472,7 @@ test "aligned struct fields" { | ... | @@ -3472,7 +3472,7 @@ test "aligned struct fields" { |
| 3472 | that variable.</li> | 3472 | that variable.</li> |
| 3473 | <li>If the struct is in the {#syntax#}return{#endsyntax#} expression, it gets named after | 3473 | <li>If the struct is in the {#syntax#}return{#endsyntax#} expression, it gets named after |
| 3474 | the function it is returning from, with the parameter values serialized.</li> | 3474 | the function it is returning from, with the parameter values serialized.</li> |
| 3475 | <li>Otherwise, the struct gets a name such as <code>(anonymous struct at file.zig:7:38)</code>.</li> | 3475 | <li>Otherwise, the struct gets a name such as <code>(filename.funcname.__struct_ID)</code>.</li> |
| 3476 | <li>If the struct is declared inside another struct, it gets named after both the parent | 3476 | <li>If the struct is declared inside another struct, it gets named after both the parent |
| 3477 | struct and the name inferred by the previous rules, separated by a dot.</li> | 3477 | struct and the name inferred by the previous rules, separated by a dot.</li> |
| 3478 | </ul> | 3478 | </ul> |