We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c101733 commit ed7d59cCopy full SHA for ed7d59c
server/src/project/scope.ts
@@ -30,7 +30,7 @@ export class NamespaceManager {
30
// Check higher scopes for shadowed declarations
31
checkItem = this.names.get(item.identifierCapability.name)
32
if (!!checkItem && !checkItem.equals(item)) {
33
- pushDiagnostic(new ShadowDeclarationDiagnostic(item.context.range));
+ pushDiagnostic(new ShadowDeclarationDiagnostic(item.identifierCapability.range));
34
return;
35
}
36
this.names.set(item.identifierCapability.name, item);
0 commit comments