diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-13 23:51:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-13 23:51:22 -0700 |
| commit | 8344a50e1c545bbeb63debc90cb91289be53b689 (patch) | |
| tree | 83df1936d65e78c1369acc544b2d261c2127ecf4 /src/codegen/arm.zig | |
| parent | 93896ef860da734cbb1247e796c0d14706b1c235 (diff) | |
| download | zig-8344a50e1c545bbeb63debc90cb91289be53b689.tar.gz zig-8344a50e1c545bbeb63debc90cb91289be53b689.zip | |
AstGen: add compile error for decl name conflicts
* Remove the ability for GenZir parent Scope to be null. Now there is a
Top Scope at the top.
* Introduce Scope.Namespace to contain a table of decl names in order
to emit a compile error for name conflicts.
* Fix use of invalid memory when reporting compile errors by
duplicating decl names into a temporary heap allocated buffer.
* Fix memory leak in while and for loops, not cleaning up their
labeled_breaks and store_to_block_ptr_list arrays.
* Fix stage2 test cases because now the source location of redundant
comptime keyword compile errors is improved.
* Implement compile error for local variable shadowing declaration.
Diffstat (limited to 'src/codegen/arm.zig')
0 files changed, 0 insertions, 0 deletions
