SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 185 Ruby

Better `on_arch` sibling handling and tests

- Avoid a last-match-wins bug when multiple `on_arm`/`on_intel` pairs
  exist in different scopes. Grouping matches by parent lets us detect
  and autocorrect every eligible pair instead of only the final pair
  encountered.
- Add regression tests for multiple eligible `on_arch` pairs across
  sibling `on_os` blocks and for a later lone `on_arch` block after a
  correctable pair.

Co-authored-by: Issy Long <me@issylong.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
I
Issy Long committed
8bfcf089d2fcf70a85769012226d896c5a0a6c8f
Parent: a6e85aa