mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-07 10:22:42 +03:00
3d64ed0353
`@trap` is a special function that we know never returns so it should behave just like `@panic` and `@compileError` do currently and cause the "unreachable code" + "control flow is diverted here" compile error. Currently, `@trap(); @trap();` does not cause this error. Now it does.