1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Files
godot/modules/gdscript/tests/scripts/parser/features/super_class_check.gd

14 lines
333 B
GDScript

# https://github.com/godotengine/godot/issues/71994
func test():
pass
class A extends RefCounted:
pass
class B extends A:
# Parsing `duplicate()` here would throw this error:
# Parse Error: The function signature doesn't match the parent. Parent signature is "duplicate(bool = default) -> Resource".
func duplicate():
pass