`variable-not-in` uses wrong prefix when prefix ends in a number
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 112
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
(variable-not-in 'S3 'S3)
Gives back S1, rather than S31.
While this still does give back unique identifiers it can make the output harder to read in some cases.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with (variable-not-in 'S3 'S3) and trace the variable-not-in entry point to find how its next identifier is formed. Confirm the fix by checking that this case returns S31 while still producing unique identifiers for other prefixes.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100