Skip to content

Commit 5b3841c

Browse files
clay-goodclaude
andcommitted
docs(extract): fix stale comment referencing a nonexistent function
The plural-use-of-a-defined-singular case is handled by isCompoundOfDefined, not "segmentMatchesDefined" (no such function exists). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent b371ecc commit 5b3841c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extract/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ export function extractDefinitions(tree: DocumentTree): DefinitionMap {
709709
// A SINGULAR use of a defined PLURAL term — "each Licensed Patent" where
710710
// "Licensed Patents" is the defined term — is that term's use, not a new
711711
// undefined one. (The mirror, a plural use of a defined singular, is
712-
// handled by segmentMatchesDefined further down.)
712+
// handled by isCompoundOfDefined further down.)
713713
if (definedNames.has(`${phraseLower}s`) || definedNames.has(`${phraseLower}es`)) continue;
714714
// TITLE_CASE_PHRASE cannot cross an all-caps word, so a candidate is
715715
// often a truncation of a longer defined term — "Contractor Background"

0 commit comments

Comments
 (0)