Skip to content

Commit

Permalink
add missing global symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jan 19, 2024
1 parent 7f4508c commit 1931823
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jsctrl/ts/aici.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,9 @@ export function checkVar(name: string, value: string): void {
}
const vStr = v.decode();
if (vStr !== value) {
throw new AssertionError(`Variable ${name}: ${JSON.stringify(vStr)} != ${JSON.stringify(value)}`);
throw new AssertionError(
`Variable ${name}: ${JSON.stringify(vStr)} != ${JSON.stringify(value)}`
);
}
}

Expand Down Expand Up @@ -803,4 +805,6 @@ globalThis.$ = $;
globalThis.fixed = fixed;
globalThis.assert = assert;
globalThis.gen = gen;
globalThis.genTokens = genTokens;
globalThis.genTokens = genTokens;
globalThis.start = start;
globalThis.waitVars = waitVars;

0 comments on commit 1931823

Please sign in to comment.