-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorctg-enhancementNew feature, improvement or change requestNew feature, improvement or change requestlang-javascriptIssue is related to JavaScript supportIssue is related to JavaScript support
Description
Description
The JsCgVariableConstructor
class was poorly designed and requires significant improvement. At the moment, the super.getOrCreateVariable(model, name)
call is used, which can lead to unexpected errors if the source method is changed.
To Reproduce
Compare JsCgVariableConstructor
vs PythonCgVariableConstructor
vs CgVariableConstructor
Expected behavior
The class uses custom models, similar to how it is done in Python
Metadata
Metadata
Assignees
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorctg-enhancementNew feature, improvement or change requestNew feature, improvement or change requestlang-javascriptIssue is related to JavaScript supportIssue is related to JavaScript support
Type
Projects
Status
Todo