Skip to content

Commit

Permalink
Fixed parser
Browse files Browse the repository at this point in the history
  • Loading branch information
lvcabral committed Jan 23, 2025
1 parent d6da573 commit 903a941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ lib/
types/
node_modules/
coverage/
out/
.DS_Store
2 changes: 1 addition & 1 deletion src/LexerParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function getLexerParserFn(
if (script.uri !== undefined) {
let maybeStatements = memoizedStatements.get(script.uri);
if (maybeStatements) {
return maybeStatements;
promises.push(maybeStatements);
} else {
let statementsPromise = lexAndParseScript(script);
if (!memoizedStatements.has(script.uri)) {
Expand Down

0 comments on commit 903a941

Please sign in to comment.