You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integer range patterns on record fields match values below the range #8713
Matching a contiguous range of integers on a value that is not a plain variable (e.g. a record field) generates a signed comparison, so every value below the range also matches.
This was fixed by #8714. On current master, the range pattern on the record field compiles to a proper bounds check (!(match > 504 || match < 502)), so values below the range no longer match. Closing.
Activity
Fix signed range check in integer patterns on non-variables (#8714)
cknitt commentedon Oct 19, 2026
This was fixed by #8714. On current master, the range pattern on the record field compiles to a proper bounds check (
!(match > 504 || match < 502)), so values below the range no longer match. Closing.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kr4cjoUi2f5VpMvE6wT9bo