Closed
Description
Godot version
v4.1.stable.official [9704596], v4.1.1.rc1.official [e709ad4]
System information
Ubuntu 23.04
Issue description
4.1 introduced support for using static methods as callables. However, if the callable is accessed via the class's name, it is considered invalid. This makes using static methods from other classes as callables very difficult.
Steps to reproduce
class_name Test extends Node
static func static_func() -> void:
pass
func _ready() -> void:
print(Test.static_func.is_valid()) # prints false
print(static_func.is_valid()) # prints true
Activity