handzlikchris / handzlikchris/FastScriptReload
Builder internal class constructor rewrite issue [Workaround]
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 167
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Current Workaround
========
Thanks to new c# syntax rewrites nicely as type can be omited.
```c#
public class Ghost{
public Ghost MyBuilderFunc()
{
return new /*Remove Class name*/(/*params*/);
}
}
```
Issue
====
```c#
public class Ghost{
public Ghost MyBuilderFunc()
{
return new Ghost(/*params*/);
}
}
```
rewrites to and fail as class mismatch
```c#
public class Ghost__Patched{
public Ghost__Patched MyBuilderFunc()
{
return new Ghost(/*params*/);
}
}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
No file or test is named in the issue. Start by locating the code-rewrite path that patches class names and handles constructor expressions, then reproduce the shown Ghost example; done means the rewritten class and return type remain consistent without relying on the workaround.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, unity
- 領域
- devtools, game-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100