Skip to content

Commit

Permalink
Fixed minor typo in comment. No functional change.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictraut committed Oct 21, 2024
1 parent 2e5a2a2 commit 124565a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/analyzer/typeEvaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21160,7 +21160,7 @@ export function createTypeEvaluator(
// Filter the declarations based on flow reachability.
const reachableDecl = symbolWithScope.symbol.getDeclarations().find((decl) => {
if (decl.type !== DeclarationType.Alias && decl.type !== DeclarationType.Intrinsic) {
// Determine if the declaration in the same execution scope as the "usageNode" node.
// Determine if the declaration is in the same execution scope as the "usageNode" node.
let usageScopeNode = ParseTreeUtils.getExecutionScopeNode(node);
const declNode: ParseNode =
decl.type === DeclarationType.Class ||
Expand Down

0 comments on commit 124565a

Please sign in to comment.