Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Nov 18, 2023
1 parent a754f54 commit d208020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export function loadBool(slice: Slice): Bool {
};
};
if (slice.preloadUint(1) == 0b1) {
let b: number;
b = slice.loadUint(32);
return {
kind: 'Bool_bool_true',
Expand Down
4 changes: 2 additions & 2 deletions tests/my.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,9 @@ describe('parsing into intermediate representation using grammar', () => {

let structTypeParametersExpr: TypeParametersExpression = tTypeParametersExpression([]);

let variablesDeclared = new Set<string>;

tlbType.constructors.forEach(constructor => {
let variablesDeclared = new Set<string>;

let constructorLoadStatements: Statement[] = []
let declaration = constructor.declaration;
let subStructName: string;
Expand Down

0 comments on commit d208020

Please sign in to comment.