Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 22, 2023
1 parent 7374df1 commit f1d0a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/codegen/astbuilder/handle_field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function handleField(field: FieldDefinition, slicePrefix: Array<number>,

let currentFieldIndex = 0;
field.fields.forEach(field => {
let theFieldIndex = fieldIndex + '|' + currentFieldIndex.toString();
let theFieldIndex = fieldIndex + '_' + currentFieldIndex.toString();
handleField(field, slicePrefix, tlbCode, constructor, constructorLoadStatements, subStructStoreStatements, subStructProperties, subStructLoadProperties, variableCombinatorName, variableSubStructName, jsCodeFunctionsDeclarations, theFieldIndex)
currentFieldIndex++;
});
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/generators/typescript/handle_field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function handleField(field: TLBField | undefined, fieldDefinition: FieldD

let currentFieldIndex = 0;
fieldDefinition.fields.forEach(fieldDef => {
let theFieldIndex = fieldIndex + '|' + currentFieldIndex.toString();
let theFieldIndex = fieldIndex + '_' + currentFieldIndex.toString();
handleField(constructor.fieldIndices.get(theFieldIndex), fieldDef, slicePrefix, tlbCode, constructor, constructorLoadStatements, subStructStoreStatements, subStructProperties, subStructLoadProperties, variableCombinatorName, variableSubStructName, jsCodeFunctionsDeclarations, theFieldIndex)
currentFieldIndex++;
});
Expand Down

0 comments on commit f1d0a46

Please sign in to comment.