aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2024-02-08 23:40:03 +0100
committerJohn Schmidt <john.schmidt.h@gmail.com>2024-02-08 23:49:03 +0100
commit7cb227ab678b57dd10b65c1d9c89526a3e47cc2a (patch)
tree90108180c74b258c7263f40a8e1ff1555cb0b814 /src/codegen
parent0d1baf0c6192c2ad917311f8275cc15b5550f0ac (diff)
downloadzig-7cb227ab678b57dd10b65c1d9c89526a3e47cc2a.tar.gz
zig-7cb227ab678b57dd10b65c1d9c89526a3e47cc2a.zip
Polish a few tests in switch.zig
- Return `error.TestFailed` instead of panicing - Use `comptime assert` for type checks so that errors surface at compile time
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions