feat: support @import type expressions in @TypeOf annotations

- Parser accepts '=' separator in addition to ':' for @TypeOf syntax
- New import_type field in TypeInfo for verbatim Zig type expressions
- Dotted field access (T.field1) preserved as real Zig dot-access for import types
- Field extraction collapses T.field1 to T when T has @import type
- Added zig_codegen tests to integration test suite
- Fixed stale test signatures in zig_codegen.zig
This commit is contained in:
2026-02-10 11:42:17 +05:30
parent c26b409a92
commit 8ee6e047d7
4 changed files with 162 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
.{
.name = .pugz,
.version = "0.3.13",
.version = "0.3.14",
.fingerprint = 0x822db0790e17621d, // Changing this has security and trust implications.
.minimum_zig_version = "0.15.2",
.dependencies = .{},