Skip to content

Commit

Permalink
Merge branch 'master' into ryan/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa authored Aug 16, 2023
2 parents e473a08 + 9e82262 commit 0faad06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export function locationFromDefinition(definition: Definition) {
return location;
}

// TODO: refactor to use `findInPattern()`
function findNameInPattern(search: Search, pat: Node): Node | undefined {
return findInPattern(pat, (name, node) =>
name === search.name ? node : undefined,
Expand Down

0 comments on commit 0faad06

Please sign in to comment.