GitNexus/gitnexus/test
Navid EMAD 46bd72b8ca
fix(zig): Union is class-like + missing-grammar warning (review pass)
Self-review findings on the Zig branch:

  - scope/walkers.ts `isClassLike` and finalize-algorithm's
    CALLABLE_OR_TYPE_LIKE did not include 'Union': a `union(enum)`
    container's methods got no ownerId from populateClassOwnedMembers, so
    method dispatch on union receivers silently dropped. Widened both
    sets; the zig-basic fixture gains a Tag method + a CALLS assertion
    (main → isEnergy) that fails without the widening (verified by
    reverting).
  - optional-grammars.ts now lists tree-sitter-zig with an npm `probe`
    (it is an optionalDependency, not vendored): users with .zig files
    and no prebuild get the standard one-line stderr warning instead of
    a silently degraded index.
  - Deduplicated the container-method predicate: `isZigContainerMethod`
    + ZIG_CONTAINER_TYPES now live once in languages/zig/captures.ts and
    feed both the provider labelOverride and the scope-capture relabel.
  - README language matrices: Zig row now claims Type Annotations,
    Constructor Inference, and Config (build.zig.zon) — all true since
    the scope-resolution hooks landed.
2026-08-24 19:56:12 +02:00
..
fixtures fix(zig): Union is class-like + missing-grammar warning (review pass) 2026-08-24 19:56:12 +02:00
helpers feat: add Zig language support 2026-08-24 19:56:11 +02:00
integration fix(zig): Union is class-like + missing-grammar warning (review pass) 2026-08-24 19:56:12 +02:00
unit feat(zig): integrate build.zig.zon resolution + Union label from PR 1096 2026-08-24 19:56:12 +02:00
utils fix(hook): emit MCP query hint when server owns DB lock (#2396) (#2397) 2026-07-08 18:34:05 +01:00