zig/test
Andrew Kelley 4bb5d17edc AstGen: pre-scan all decls in a namespace
Also:
 * improve the "ambiguous reference" error by swapping the order of
   "declared here" and "also declared here" notes.
 * improve the "not accessible from inner function" error:
   - point out that it has to do with the thing being mutable
   - eliminate the incorrect association with it being a function
   - note where it crosses a namespace boundary
 * struct field types are evaluated in a context that has the struct
   namespace visible. Likewise with align expressions, linksection
   expressions, enum tag values, and union/enum tag argument
   expressions.

Closes #9194
Closes #9622
2021-08-28 16:04:38 -07:00
..
behavior AstGen: pre-scan all decls in a namespace 2021-08-28 16:04:38 -07:00
src
stage1/c_abi stage1: Expand SysV C ABI support for small structs 2021-07-28 18:13:17 -04:00
stage2 fix stage2 test cases expecting wrong line numbers 2021-08-24 13:42:31 -07:00
standalone macho: fix linking of dylibs and frameworks 2021-08-10 08:13:07 +02:00
assemble_and_link.zig
behavior.zig stage2: field type expressions support referencing locals 2021-08-20 15:41:57 -07:00
cases.zig AstGen: pre-scan all decls in a namespace 2021-08-28 16:04:38 -07:00
cli.zig
compare_output.zig Expose mechanism to convert log level to text 2021-06-24 04:30:05 -06:00
compile_errors.zig AstGen: pre-scan all decls in a namespace 2021-08-28 16:04:38 -07:00
gen_h.zig
run_translated_c.zig translate-c: allow string literals to be used as char * 2021-08-21 16:32:09 +03:00
runtime_safety.zig fix unused variable errors in runtime safety test cases 2021-06-23 10:44:46 -07:00
stack_traces.zig
standalone.zig macho: fix linking of dylibs and frameworks 2021-08-10 08:13:07 +02:00
tests.zig Merge remote-tracking branch 'origin' into libc-wasi-test 2021-08-09 14:39:26 +09:00
translate_c.zig translate-c: better codegen for pointer index by int literal 2021-08-03 08:38:15 +03:00