handzlikchris / handzlikchris/FastScriptReload

If there is a #region directive within a partial class, it may cause errors during a merge.

オープン
#146 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
2.2k
フォーク
167
PR マージ指標
30日以内にマージされた PR はありません

説明

partial class classA
{
#region testRegion
int a =1;
#endRegion
}

partial class classA
{
#region region2
int b=1;
#endregion
}

after merge, will cause #region count and #endregion count not match

If classA has an inner class, the result of the merge may create an additional outer inner class.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、#region/#endregion ディレクティブとネストされたクラスを含め、issue にある 2 つの partial class の例を再現します。マージによって一致するリージョン数が維持され、追加の外側のネストされたクラスが作成されなければ完了です。

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

評価

技術スタック
csharp, unity
領域
game-dev, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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