You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an enum in a parent class, a child class cannot use the enum as a type. This makes overriding methods that take the enum as a parameter impossible, unless the parameter is set up without a type. I'm not sure if this is desired behavior or not, but it seems like an issue. Note that this happens in the 4.x branch as well as the 3.x branch.
perhaps, but i don't experience the issue as described. you can indeed use the enum of a parent class as a type. the problem only occurs when it's the parents' parent class(or higher on the inheritance tree) specifically.
Godot version
v3.4.1.stable.official [aa1b958], v4.0.alpha5.official [d7d528c]
System information
Windows 11, Vulkan, Nvidia GeForce RTX 2060 Max-Q
Issue description
When creating an enum in a parent class, a child class cannot use the enum as a type. This makes overriding methods that take the enum as a parameter impossible, unless the parameter is set up without a type. I'm not sure if this is desired behavior or not, but it seems like an issue. Note that this happens in the 4.x branch as well as the 3.x branch.
Steps to reproduce
Minimal reproduction project
EnumTest.zip
The text was updated successfully, but these errors were encountered: