diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 16:28:52 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 16:28:52 +0100 |
commit | 98921d8fbaa83f53f0205ea77f522e37ba30ead2 (patch) | |
tree | 44689c21648c131e7a37c853185b8054e4df7519 /modules/gdscript/tests/scripts/parser | |
parent | bdad9770d64914da3b77bee49916419b5df87d1c (diff) |
Revert "Remove script class checks when getting function signature"
This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88.
This introduced some other issues, as discussed in #72144.
Diffstat (limited to 'modules/gdscript/tests/scripts/parser')
-rw-r--r-- | modules/gdscript/tests/scripts/parser/features/super_class_check.gd | 13 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/parser/features/super_class_check.out | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/super_class_check.gd b/modules/gdscript/tests/scripts/parser/features/super_class_check.gd deleted file mode 100644 index edfc45a8d8..0000000000 --- a/modules/gdscript/tests/scripts/parser/features/super_class_check.gd +++ /dev/null @@ -1,13 +0,0 @@ -# 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 diff --git a/modules/gdscript/tests/scripts/parser/features/super_class_check.out b/modules/gdscript/tests/scripts/parser/features/super_class_check.out deleted file mode 100644 index d73c5eb7cd..0000000000 --- a/modules/gdscript/tests/scripts/parser/features/super_class_check.out +++ /dev/null @@ -1 +0,0 @@ -GDTEST_OK |