mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
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>