diff --git a/dbos-rules.ts b/dbos-rules.ts index dbeb9d3..2eecdd0 100644 --- a/dbos-rules.ts +++ b/dbos-rules.ts @@ -397,11 +397,11 @@ function checkCallForInjection(callParam: Node, fnDecl: FnDecl): Maybe = new Map(); + const nodeLRStates: Map = new Map(); const rootProblemNodes: Set = new Set(); - function isLRWithoutResultCache(node: Node): boolean { + function isLRWithoutStateCache(node: Node): boolean { if (Node.isStringLiteral(node) || Node.isNumericLiteral(node)) { return true; } @@ -456,16 +456,16 @@ function checkCallForInjection(callParam: Node, fnDecl: FnDecl): Maybe