Tensegritics / Tensegritics/ClojureDart
Warn when deftype fields shadow a member
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 1.6k
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
When extending a class with deftype, one of deftype fields (the ones specified in the vector right after the type name) may conflict with a property or a method of the extended type.
We should at least warn about this shadowing or even error.
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
Start by locating the deftype implementation and the handling of its field vector when extending a class. Trace how properties and methods of the extended type are resolved, then define regression coverage showing the chosen warning or error for a name collision. Done means field/member shadowing is consistently reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, dart
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100