mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
`ban-words.test.ts` attempts to detect places where a struct field is given a default value of `undefined`, but it fails to detect cases like the following: ```zig foo: *Foo align(1) = undefined, bar: [16 * 64]Bar = undefined, baz: Baz(u8, true) = undefined, ``` This PR updates the check to detect more occurrences, while still avoiding (as far as I can tell) the inclusion of any false positives. (For internal tracking: fixes STAB-971) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>