How to reproduce
execute if score @s test matches 1 run say hi
execute if score @s test matches 1.. run say hi
→ ❌ These commands both won't successfully parse
execute if score @s test matches 1..2 run say hi
execute if score @s test matches ..1 run say hi
→ ✔ These both work and parse as expected
can confirm