0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test
Andrew Kelley b6ccde47ad Sema: allow mixing array and vector operands
* Added peer type resolution for arrays and vectors: the vector type is
   selected.
 * Fixed passing the lhs type or rhs type instead of the peer resolved
   type when calling Value methods during analyzeArithmetic handling of
   comptime expressions.
 * `checkVectorizableBinaryOperands` now allows mixing vectors and
   arrays, as long as one of the operands is a vector.

This matches stage1's handling of `^=` but apparently stage1 is
inconsistent and does not handle e.g. `*=`. stage2 now will always allow
mixing vector and array operands for all operations.
History 2022-03-28 14:17:05 -07:00
..
behavior Sema: allow mixing array and vector operands 2022-03-28 14:17:05 -07:00
compile_errors stage2: safety checks for slicing a null C pointer 2022-03-27 09:20:35 -07:00
src std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
stage1/c_abi C ABI: these tests are not passing yet on Windows 2022-02-08 21:15:00 -07:00
stage2 fix merge conflicts and test cases 2022-03-22 15:58:19 -07:00
standalone Revert "reduce build error noise" 2022-02-17 14:30:12 -07:00
assemble_and_link.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
behavior.zig behavior tests: disable failing stage1 test 2022-03-23 14:06:07 -07:00
cases.zig disable failing nvptx test cases 2022-03-14 00:11:46 -07:00
cli.zig Full response file (*.rsp) support 2022-01-30 21:27:52 +02:00
compare_output.zig Full response file (*.rsp) support 2022-01-30 21:27:52 +02:00
compile_errors.zig Move existing compile errors to independent files 2022-03-25 12:27:46 -07:00
gen_h.zig run zig fmt on src/ and test/ 2020-10-31 12:21:49 +02:00
run_translated_c.zig translate-c: use nested scope for comma operator in macros 2022-03-08 20:38:51 +02:00
runtime_safety.zig fix unused variable errors in runtime safety test cases 2021-06-23 10:44:46 -07:00
stack_traces.zig overhaul elf csu (c-runtime startup) logic 2021-05-23 15:38:57 -04:00
standalone.zig Revert "reduce build error noise" 2022-02-17 14:30:12 -07:00
tests.zig Replace argvCmd with std.mem.join 2022-02-06 22:21:46 -07:00
translate_c.zig translate-c: improve error messages when expecting specific tokens 2022-01-17 17:16:48 +02:00