godot/modules/gdscript/tests/scripts/analyzer/features/extend_abstract_class.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
231 B
GDScript3
Raw Normal View History

class A extends CanvasItem:
func _init():
pass
class B extends A:
pass
class C extends CanvasItem:
pass
abstract class X:
pass
class Y extends X:
func test() -> String:
return "ok"
func test():
print(Y.new().test())