1bf1b685d6
If we've already identified that we are within a `keySpan` of a node, we exit the visitor logic early. It can be the case that we have two nodes which technically match a given location when the end span of one node touches the start of the keySpan for the candidate node. Because our `isWithin` logic is inclusive on both ends, we can match both nodes. This change exits the visitor logic once we've identified a node where the position is within its `keySpan`. PR Close #40047 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
adapters_spec.ts | ||
compiler_factory_spec.ts | ||
daignostic_spec.ts | ||
definitions_spec.ts | ||
language_service_spec.ts | ||
mock_host.ts | ||
mock_host_spec.ts | ||
template_target_spec.ts | ||
test_utils.ts | ||
type_definitions_spec.ts |