Duplicated Alias warning string interpolation mistake
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- tooling
Research direction
Locate the duplicate-alias warning implementation and any tests covering alias diagnostics. Check how the alias name is inserted into the warning, then verify that duplicate foo aliases produce the expected message with foo rather than {name}.
Written by the indexing model from the issue text.
Description
The warning for duplicate alias doesn't interpolate the string correctly:
---@alias foo int Duplicate alias '{name}'. Alias definitions cannot be partial.
---@alias foo int Duplicate alias '{name}'. Alias definitions cannot be partial.
Expected:
---@alias foo int Duplicate alias 'foo'. Alias definitions cannot be partial.
---@alias foo int Duplicate alias 'foo'. Alias definitions cannot be partial.
- Dominant language
- TypeScript
- Stars
- 753
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
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.
More from EmmyLua/VSCode-EmmyLua
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
EmmyLua/VSCode-EmmyLua#315 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
EmmyLua/VSCode-EmmyLua#319 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
EmmyLua/VSCode-EmmyLua#313 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
EmmyLua/VSCode-EmmyLua#312 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
EmmyLua/VSCode-EmmyLua#311 ·
All issues in EmmyLua/VSCode-EmmyLua
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·