aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-18 00:12:22 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-18 00:12:22 -0700
commitf3f5a5d05b7056aceb408b701613242d053019ab (patch)
treeacb912950d734b0c25b38c1ae82a8558d1313057 /test/behavior/array.zig
parent69d78bdae4a5d0ec5877add5936ae8e9daf09140 (diff)
downloadzig-f3f5a5d05b7056aceb408b701613242d053019ab.tar.gz
zig-f3f5a5d05b7056aceb408b701613242d053019ab.zip
stage2: improve `@typeName`
* make it always return a fully qualified name. stage1 is inconsistent about this. * AstGen: fix anon_name_strategy to correctly be `func` when anon type creation happens in the operand of the return expression. * Sema: implement type names for the "function" naming strategy. * Put "enum", "union", "opaque", or "struct" in place of "anon" when creating respective anonymous Decl names. * std.testing: add `expectStringStartsWith`. Didn't end up using it after all. Also this enables the real test runner for stage2 LLVM backend (sans wasm32) since it works now.
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions