Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Jan 13, 2024
1 parent d8628a3 commit e50973e
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 76 deletions.
2 changes: 1 addition & 1 deletion src/generators/typescript/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ export class TypescriptGenerator implements CodeGenerator {
slicePrefix,
argIndex
);
let functionId = id('createTheFunction' + (Math.random() + 1).toString(36).substring(7))
let functionId = id('dictValue_' + ctx.name + '_' + fieldName)
let value = tFunctionCall(functionId, [])
result.loadExpr = tFunctionCall(tMemberExpression(id('Dictionary'), id('load')), [key, value, id(currentSlice)])
if (subExprInfo.typeParamExpr && subExprInfo.loadFunctionExpr && subExprInfo.storeStmtInside) {
Expand Down
Loading

0 comments on commit e50973e

Please sign in to comment.