Skip to content

Commit

Permalink
Update src/types/resolveStatements.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Trunov <[email protected]>
  • Loading branch information
Gusarich and anton-trunov authored May 27, 2024
1 parent 63669f2 commit 49199b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/resolveStatements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function processStatements(

// Add variable to statement context
if (sctx.vars.has(s.name)) {
throwError(`Variable already exists: "${s.name}"`, s.ref);
throwError(`Variable "${s.name}" already exists`, s.ref);
}
sctx = addVariable(s.name, variableType, sctx);
} else if (s.kind === "statement_assign") {
Expand Down

0 comments on commit 49199b2

Please sign in to comment.