| ... | ... | @@ -7455,7 +7455,7 @@ test "main" { |
| 7455 | 7455 | <p> |
| 7456 | 7456 | If the binary is built with error return tracing, and this function is invoked in a |
| 7457 | 7457 | function that calls a function with an error or error union return type, returns a |
| 7458 | | stack trace object. Otherwise returns `null`. |
| 7458 | stack trace object. Otherwise returns {#link|null#}. |
| 7459 | 7459 | </p> |
| 7460 | 7460 | {#header_close#} |
| 7461 | 7461 | |
| ... | ... | @@ -9446,17 +9446,17 @@ test "string literal to constant slice" { |
| 9446 | 9446 | } |
| 9447 | 9447 | {#code_end#} |
| 9448 | 9448 | <p> |
| 9449 | | Just like string literals, `const` declarations, when the value is known at {#link|comptime#}, |
| 9449 | Just like string literals, {#syntax#}const{#endsyntax#} declarations, when the value is known at {#link|comptime#}, |
| 9450 | 9450 | are stored in the global constant data section. Also {#link|Compile Time Variables#} are stored |
| 9451 | 9451 | in the global constant data section. |
| 9452 | 9452 | </p> |
| 9453 | 9453 | <p> |
| 9454 | | `var` declarations inside functions are stored in the function's stack frame. Once a function returns, |
| 9454 | {#syntax#}var{#endsyntax#} declarations inside functions are stored in the function's stack frame. Once a function returns, |
| 9455 | 9455 | any {#link|Pointers#} to variables in the function's stack frame become invalid references, and |
| 9456 | 9456 | dereferencing them becomes unchecked {#link|Undefined Behavior#}. |
| 9457 | 9457 | </p> |
| 9458 | 9458 | <p> |
| 9459 | | `var` declarations at the top level or in {#link|struct#} declarations are stored in the global |
| 9459 | {#syntax#}var{#endsyntax#} declarations at the top level or in {#link|struct#} declarations are stored in the global |
| 9460 | 9460 | data section. |
| 9461 | 9461 | </p> |
| 9462 | 9462 | <p> |