Files
bun.sh/test/internal
Claude Bot d23261778f feat: add ban-words check for underscore-prefixed Zig struct fields
This adds a new validation to ban-words.test.ts that detects Zig struct
fields starting with underscore and recommends using # instead for private
fields. The Zig compiler has been extended to support this # prefix syntax!

- Detects patterns like `_foo: u32,` in struct definitions
- Shows friendly message recommending `#foo` instead of `_foo`
- Allows existing 148 instances to maintain backwards compatibility
- New violations will fail the test with helpful guidance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 05:35:15 +00:00
..