Autodesk / Autodesk/AutomaticComponentToolkit
Out optionalclass is not generating valid code in C++ implementation.
未关闭
- 主要语言
- Go
- 星标
- 53
- 派生
- 26
- PR 合并指标
- 30 天内没有已合并 PR
描述
If there is an out optionalclass value, the code generator creates a base result variable:
IBase * pBaseHandlerInstance(nullptr);
This leads to a compile error of the implementation. The class should be the correct output class, like
ISignalHandler * pBaseHandlerInstance(nullptr);
贡献指南
调研方向
定位生成 pBaseHandlerInstance 的代码生成器逻辑,并复现带有输出 optionalclass 值的情况。验证生成的 C++ 声明的是具体的输出类(例如 ISignalHandler),而不是 IBase,并且实现能够编译。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, go
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100