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
Unquoted identifiers lose leading characters after numeric underscores #231
An unquoted identifier starting with digits loses leading characters if its numeric prefix contains underscores. Instead of only adding quotes, repair changes the identifier itself.
The results should preserve 123_456ABC and 1_2_3ABC as strings. Pure numeric values such as 123_456 should continue to become 123456.
This affects the interaction between underscore normalization (#169) and the number-to-string fallback (#174). I plan to retain the original token position when falling back to string parsing and add regression tests.
A tested fix is available on fix/preserve-numeric-identifiers. This repository currently restricts PR creation to collaborators, so I could not open the corresponding upstream PR.
Activity