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
I also tested it in Python and TypeScript and it works in both but they would also allow me to return a not compatible type (e.g. String) from the overriden method which seems questionable to me.
Godot version
4.0.beta6
System information
Windows 10
Issue description
When overriding a method of a class it is not possible to change the return type even if the new return type is a valid subtype of the original.
Steps to reproduce
a.gd
b.gd
Minimal reproduction project
override_bug.zip
The text was updated successfully, but these errors were encountered: