fix(semantic): regression in tracking scopes#9521
Conversation
🦋 Changeset detectedLatest commit: 4d557c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Parser conformance results onjs/262
jsx/babel
markdown/commonmark
symbols/microsoft
ts/babel
ts/microsoft
|
WalkthroughThis PR fixes issue Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip You can generate walkthrough in a markdown collapsible section to save space.Enable the |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.changeset/many-hats-shout.md:
- Line 5: Replace the changeset sentence on line 5 with the mandated bug-fix
format starting with "Fixed
[`#9483`](https://github.com/biomejs/biome/issues/9483):" followed by a concise
description; e.g. change the current sentence to "Fixed
[`#9483`](https://github.com/biomejs/biome/issues/9483): noRedeclare no longer
panics on constructor overloads." Ensure the sentence begins with the exact
prefix "Fixed [`#9483`](...):" so it conforms to the project's changeset
guidelines.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b9b1efae-d63b-4f69-a481-dff26cb72284
⛔ Files ignored due to path filters (1)
crates/biome_js_analyze/tests/specs/suspicious/noRedeclare/invalid-issue-9483.ts.snapis excluded by!**/*.snapand included by**
📒 Files selected for processing (3)
.changeset/many-hats-shout.mdcrates/biome_js_analyze/tests/specs/suspicious/noRedeclare/invalid-issue-9483.tscrates/biome_js_semantic/src/semantic_model/builder.rs
| "@biomejs/biome": patch | ||
| --- | ||
|
|
||
| Fixed [#9483](https://github.com/biomejs/biome/issues/9483). Now the rule `noRedeclare` doesn't panic when it encounters constructor overloads. |
There was a problem hiding this comment.
Use the required bug-fix changeset sentence format.
Please rewrite Line [5] to use the mandated form with a colon, e.g. Fixed [#9483](...): noRedeclare no longer panics on constructor overloads.
As per coding guidelines "For bug fix changesets, start with 'Fixed [#NUMBER](issue link): ...' format".
🧰 Tools
🪛 LanguageTool
[uncategorized] ~5-~5: Possible missing comma found.
Context: .../github.com//issues/9483). Now the rule noRedeclare doesn't panic wh...
(AI_HYDRA_LEO_MISSING_COMMA)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.changeset/many-hats-shout.md at line 5, Replace the changeset sentence on
line 5 with the mandated bug-fix format starting with "Fixed
[`#9483`](https://github.com/biomejs/biome/issues/9483):" followed by a concise
description; e.g. change the current sentence to "Fixed
[`#9483`](https://github.com/biomejs/biome/issues/9483): noRedeclare no longer
panics on constructor overloads." Ensure the sentence begins with the exact
prefix "Fixed [`#9483`](...):" so it conforms to the project's changeset
guidelines.
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Closes #9483
Closes #9492
Test Plan
Added tests
Docs