1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Files
godot/modules/gdscript/tests/scripts/analyzer/features/extend_abstract_class.gd
2025-06-23 12:24:45 -07:00

20 lines
232 B
GDScript

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())