From e7ea0122cb5ea051f28a71a827595ed789aa1e85 Mon Sep 17 00:00:00 2001 From: polyprogrammist Date: Thu, 21 Dec 2023 22:13:57 -0500 Subject: [PATCH] tmp --- src/codegen/generators/typescript/handle_field.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/codegen/generators/typescript/handle_field.ts b/src/codegen/generators/typescript/handle_field.ts index e8357bd..f727511 100644 --- a/src/codegen/generators/typescript/handle_field.ts +++ b/src/codegen/generators/typescript/handle_field.ts @@ -87,8 +87,7 @@ export function handleField(field: TLBField | undefined, fieldDefinition: FieldD thefield = field.fieldType } else { - throw new Error('') - // thefield = getType(fieldDefinition.expr, fieldName, true, false, variableCombinatorName, variableSubStructName, constructor, tmpTypeName, 0, tlbCode); + thefield = getType(fieldDefinition.expr, fieldName, true, false, variableCombinatorName, variableSubStructName, constructor, tmpTypeName, 0, tlbCode); } let fieldInfo = handleType(thefield, fieldName, true, variableCombinatorName, variableSubStructName, currentSlice, currentCell, constructor, jsCodeFunctionsDeclarations, tmpTypeName, 0, tlbCode); if (fieldInfo.loadExpr) {