Skip to content

test(zig): assert a tagged-union nested-struct payload's fields are not minted #4074

Closed

Description

@safishamsi

Good first issue. #4050 emits a node per union(enum) variant but intentionally does not recurse into a nested-struct payload. That non-emission isn't asserted.

Where: tests/test_languages.py (zig tagged-union test)
What: add rectangle: struct { w: f64, h: f64 } as a variant and assert w/h are NOT emitted as nodes (only the rectangle variant + its case_of).
Acceptance: new assertion passes.

Activity

  1. added
    help wanted
    good first issue
    on Oct 4, 2026
  2. added a commit that references this issue on Oct 5, 2026
    9f6c0b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions