| ... | ... | @@ -4233,13 +4233,10 @@ fn structDeclInner( |
| 4233 | 4233 | // are in scope, so that field types, alignments, and default value expressions |
| 4234 | 4234 | // can refer to decls within the struct itself. |
| 4235 | 4235 | astgen.advanceSourceCursorToNode(node); |
| 4236 | | // If `node == 0` then this is the root struct and all the declarations should |
| 4237 | | // be relative to the beginning of the file. |
| 4238 | | const decl_line = if (node == 0) 0 else astgen.source_line; |
| 4239 | 4236 | var block_scope: GenZir = .{ |
| 4240 | 4237 | .parent = &namespace.base, |
| 4241 | 4238 | .decl_node_index = node, |
| 4242 | | .decl_line = decl_line, |
| 4239 | .decl_line = gz.decl_line, |
| 4243 | 4240 | .astgen = astgen, |
| 4244 | 4241 | .force_comptime = true, |
| 4245 | 4242 | .instructions = gz.instructions, |
| ... | ... | @@ -4439,7 +4436,7 @@ fn unionDeclInner( |
| 4439 | 4436 | var block_scope: GenZir = .{ |
| 4440 | 4437 | .parent = &namespace.base, |
| 4441 | 4438 | .decl_node_index = node, |
| 4442 | | .decl_line = astgen.source_line, |
| 4439 | .decl_line = gz.decl_line, |
| 4443 | 4440 | .astgen = astgen, |
| 4444 | 4441 | .force_comptime = true, |
| 4445 | 4442 | .instructions = gz.instructions, |
| ... | ... | @@ -4722,7 +4719,7 @@ fn containerDecl( |
| 4722 | 4719 | var block_scope: GenZir = .{ |
| 4723 | 4720 | .parent = &namespace.base, |
| 4724 | 4721 | .decl_node_index = node, |
| 4725 | | .decl_line = astgen.source_line, |
| 4722 | .decl_line = gz.decl_line, |
| 4726 | 4723 | .astgen = astgen, |
| 4727 | 4724 | .force_comptime = true, |
| 4728 | 4725 | .instructions = gz.instructions, |
| ... | ... | @@ -4827,7 +4824,7 @@ fn containerDecl( |
| 4827 | 4824 | var block_scope: GenZir = .{ |
| 4828 | 4825 | .parent = &namespace.base, |
| 4829 | 4826 | .decl_node_index = node, |
| 4830 | | .decl_line = astgen.source_line, |
| 4827 | .decl_line = gz.decl_line, |
| 4831 | 4828 | .astgen = astgen, |
| 4832 | 4829 | .force_comptime = true, |
| 4833 | 4830 | .instructions = gz.instructions, |