[] lookup does not handle property merging
Open
Nobody has claimed this yet.
feature request
low priority
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
Minimal example:
@list: {
x+: 1;
x+: 2;
}
div {
result: @list[x]; // -> `2`, but expected `1, 2`
}
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.
Research direction
Start with the minimal LESS example in the issue and trace the implementation of [] lookup and property merging. Add a regression case for the shown @list[x] expression, then verify that the output is 1, 2 rather than 2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100