oakmac / oakmac/standard-clojure-style-js
improve error message for use inside ns form
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 137
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Follow-up to Issue #152 and PR-171:
We should show more details to the user when :use is detected inside of the ns form. For example, we could include the line + column number where we encountered :use and print a few lines above and below the location so that the user can see more context of where the error occurred.
inspiration / ideas
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 reviewing Issue #152 and PR-171 to understand the existing handling of :use inside an ns form. Trace the current error-reporting path and determine how location and surrounding source context are represented. Done means the error shows the encountered line and column plus nearby lines for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100