Autodesk / Autodesk/AutomaticComponentToolkit

Out optionalclass is not generating valid code in C++ implementation.

オープン
#101 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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++ が IBase ではなく、ISignalHandler などの具体的な出力クラスを宣言していること、および実装がコンパイルできることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp, go
領域
tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。