gh-145239: Accept unary plus literal pattern (#148566)
Add '+' alternatives to signed_number and signed_real_number grammar rules, mirroring how unary minus is already handled for pattern matching. Unary plus is a no-op on numbers so the value is returned directly without wrapping in a UnaryOp node.
B
Bartosz Sławecki committed
448d7b96c181d13ca7f8977780e85b53b2716294
Parent: 4629c22
Committed by GitHub <noreply@github.com>
on 4/23/2026, 7:07:28 PM