Godot4.4-dev5: Breaks my mock implementation, get_method_list
provides invalid method info for get_primary_rotation_axis
#99531
Labels
Milestone
Tested versions
v4.4.dev5.mono.official [9e60984]
System information
All
Issue description
I'm providing a mocking util for testing in my plugin GdUnit4 and the test are broken now.
My tests try to mock all Godot classes, and it fails now on
LookAtModifier3D#get_primary_rotation_axis
The method is documented as
But the
Vector3
has no enumAxis
defined.Steps to reproduce
Run the script to check the provided method info.
The output is:
I use the provided method info to build the mocking class, and it will not be compiling about missing enum
Vector3.Axis
e.g. use a valid script code will show the compile error
var axis_typed :Vector3.Axis = modifier.get_primary_rotation_axis()
Parse Error: Built-in types don't contain nested types.
Same issues for all classes inherits from
SpriteBase3D
Minimal reproduction project (MRP)
n/a
The text was updated successfully, but these errors were encountered: