Merge pull request #39739 from MichaelBelousov/fix/long-enum-fix-rider-cast
fix underlying type of enum crashing cast in RiderPathManager
This commit is contained in:
commit
04795d7f1e
@ -1,6 +1,6 @@
|
||||
namespace GodotTools.Build
|
||||
{
|
||||
public enum BuildTool
|
||||
public enum BuildTool : long
|
||||
{
|
||||
MsBuildMono,
|
||||
MsBuildVs,
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace GodotTools
|
||||
{
|
||||
public enum ExternalEditorId
|
||||
public enum ExternalEditorId : long
|
||||
{
|
||||
None,
|
||||
VisualStudio, // TODO (Windows-only)
|
||||
|
@ -13,9 +13,9 @@ namespace GodotTools.Internals
|
||||
public string Name { get; }
|
||||
public string Namespace { get; }
|
||||
public bool Nested { get; }
|
||||
public int BaseCount { get; }
|
||||
public long BaseCount { get; }
|
||||
|
||||
public ClassDecl(string name, string @namespace, bool nested, int baseCount)
|
||||
public ClassDecl(string name, string @namespace, bool nested, long baseCount)
|
||||
{
|
||||
Name = name;
|
||||
Namespace = @namespace;
|
||||
@ -45,7 +45,7 @@ namespace GodotTools.Internals
|
||||
(string)classDeclDict["name"],
|
||||
(string)classDeclDict["namespace"],
|
||||
(bool)classDeclDict["nested"],
|
||||
(int)classDeclDict["base_count"]
|
||||
(long)classDeclDict["base_count"]
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user