You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first parameter to bar is incorrectly reported as unused. This is caused by the type of the second parameter, which is a class with the same named parameter in its constructor.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
Rule name
lint/correctness/noUnusedVariables
Playground link
https://biomejs.dev/playground/?lintRules=all&code=ZQB4AHAAbwByAHQAIABjAGwAYQBzAHMAIABGAG8AbwAgAHsACgAgACAAYgBhAHIAKABuAGEAbQBlADoAIABzAHQAcgBpAG4AZwAsACAAXwBjAGwAYQBzAHMAOgAgAG4AZQB3ACAAKABuAGEAbQBlADoAIABzAHQAcgBpAG4AZwApACAAPQA%2BACAAYQBuAHkAKQAgAHsACgAgACAAIAAgAHIAZQB0AHUAcgBuACAAbgBhAG0AZQAKACAAIAB9AAoAfQA%3D
Expected result
The first parameter to
bar
is incorrectly reported as unused. This is caused by the type of the second parameter, which is a class with the same named parameter in its constructor.Code of Conduct
The text was updated successfully, but these errors were encountered: