jackfirth / jackfirth/resyntax
Identifier usage analyzer should count disappeared uses
Open
Nobody has claimed this yet.
autopilot-candidate
bug
existing lint
- Dominant language
- Racket
- Stars
- 70
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
The implementation of identifier-usage-analyzer currently doesn't see disappeared uses, as recorded by macros in the 'disappeared-use syntax property. This test should pass:
#lang resyntax/test
header: - #lang racket/base
analysis-test: "struct-copy disappeared use counted"
----------------------------------------
(struct point (x y z))
(define (f pt)
(struct-copy point pt [y 100]))
----------------------------------------
@within - (struct point (x y z))
@inspect - point
@property usage-count
@assert 1
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.
Assessment
This issue has not been assessed yet.