godot/modules/gdscript/tests/scripts/analyzer/errors/cyclic_inheritance.gd

9 lines
106 B
GDScript

func test():
print(InnerA.new())
class InnerA extends InnerB:
pass
class InnerB extends InnerA:
pass