Skip to content

Commit

Permalink
refactor: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Oct 8, 2023
1 parent ba775cf commit c0fd154
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/language/helpers/nodeProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,3 @@ export const typeParametersOrEmpty = (
return [];
} /* c8 ignore stop */
};

export const yieldsOrEmpty = (node: SdsBlock | undefined): SdsYield[] => {
return stream(statementsOrEmpty(node))
.filter(isSdsAssignment)
.flatMap(assigneesOrEmpty)
.filter(isSdsYield)
.toArray();
};

0 comments on commit c0fd154

Please sign in to comment.