Struct migrations insert #:extra-constructor-name unnecessarily
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- tooling
Research direction
The issue provides no repository file or test entry point; begin by reading racket/scribble#295 and tracing the refactoring rule API and source code analysis phase. Done means struct migrations no longer insert #:extra-constructor-name when all make- constructors can be rewritten.
Written by the indexing model from the issue text.
Description
See racket/scribble#295 for context. Fixing this is tricky, because it requires knowing that all uses of the make- constructor can be rewritten. This requires first making a pass over the module to look for define-struct forms, then making a pass to look for usages of their constructors, then finally making a third pass to look for define-struct forms whose constructors can all be rewritten. This would require significantly reworking the refactoring rule API and the implementation of the source code analysis phase. It seems like it would enable producing far more useful suggestions, so it's worth exploring.
- Dominant language
- Racket
- Stars
- 70
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from jackfirth/resyntax
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
testing
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
testing
Difficulty 3/5 1-2 days Newbie friendliness 75/100
-
testing
Difficulty 4/5 3-5 days Newbie friendliness 68/100
All issues in jackfirth/resyntax
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
caddyserver/caddy#8046 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·