Debian Codegraph @

modules/gdscript/tests/scripts/runtime/features/ctor_as_callable.gd

raw
1 # https://github.com/godotengine/godot/issues/70319
2
3 class InnerClass:
4 pass
5
6 func test():
7 var inner_ctor : Callable = InnerClass.new
8 print(inner_ctor)
9 var native_ctor : Callable = Node.new
10 print(native_ctor)