handzlikchris / handzlikchris/FastScriptReload
If there is a #region directive within a partial class, it may cause errors during a merge.
- Vorherrschende Sprache
- C#
- Sterne
- 2.2k
- Forks
- 167
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by reproducing the two partial-class examples in the issue, including the #region/#endregion directives and the nested class. Done means merging preserves matching region counts and does not create an additional outer nested class.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, unity
- Bereich
- game-dev, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100