| ... | @@ -313,7 +313,7 @@ const Parse = struct { | ... | @@ -313,7 +313,7 @@ const Parse = struct { |
| 313 | var buf: [2]Ast.Node.Index = undefined; | 313 | var buf: [2]Ast.Node.Index = undefined; |
| 314 | const array_init = ast.fullArrayInit(&buf, node) orelse { | 314 | const array_init = ast.fullArrayInit(&buf, node) orelse { |
| 315 | const tok = main_tokens[node]; | 315 | const tok = main_tokens[node]; |
| 316 | return fail(p, tok, "expected paths expression to be a struct", .{}); | 316 | return fail(p, tok, "expected paths expression to be a list of strings", .{}); |
| 317 | }; | 317 | }; |
| 318 | | 318 | |
| 319 | for (array_init.ast.elements) |elem_node| { | 319 | for (array_init.ast.elements) |elem_node| { |