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
I'm getting the error: Rename or remove duplicate property name 'myFunc'.
Expected behavior
Well it may not be a good style to have 2 functions with the same name but as they exists in different scopes I would expect a different error message.
The text was updated successfully, but these errors were encountered:
I want to report a bug.
SonarJS version: 2.21 (build 4409)
SonarQube version: 6.3.1 (build 21392)
Rule key: javascript:DuplicatePropertyName
Reproducer
I'm getting the error:
Rename or remove duplicate property name 'myFunc'.
Expected behavior
Well it may not be a good style to have 2 functions with the same name but as they exists in different scopes I would expect a different error message.
The text was updated successfully, but these errors were encountered: