0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/zon/parse.zig
Jacob Young b16d6c2e92 zon: support empty slices of noreturn types
These changes are fundamentally working around a language design flaw
regarding how `@sizeOf` and `.*` interact with uninstantiable types.
`!Type.isNoReturn` is implemented in user space to avoid calling
`@sizeOf` on an uninstantiable type.  A future language proposal could
make it possible to revert most of these changes.
2026-11-02 02:01:07 -05:00

4894 lines
157 KiB