summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime/features/ctor_as_callable.gd
blob: 515efbc9ce9b554f3269c7d46e7965c483730e1c (plain)
1
2
3
4
5
6
7
8
9
10
# https://github.com/godotengine/godot/issues/70319

class InnerClass:
    pass

func test():
    var inner_ctor : Callable = InnerClass.new
    print(inner_ctor)
    var native_ctor : Callable = Node.new
    print(native_ctor)