diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 14:07:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 14:07:53 +0100 |
commit | 5386289ee2d7af990030f3d2a3c06d8b530cb05a (patch) | |
tree | 017c1133bfb64e83bc8bac73d7251868dfc8a47a /modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd | |
parent | f5a0e18015f3b7a61cb8271912c22efb8642a72e (diff) | |
parent | 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88 (diff) |
Merge pull request #72144 from adamscott/fix-super-class-check
Remove script class checks when getting function signature
Diffstat (limited to 'modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd')
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd b/modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd new file mode 100644 index 0000000000..030daf502c --- /dev/null +++ b/modules/gdscript/tests/scripts/analyzer/features/gdscript_duplicate.gd @@ -0,0 +1,6 @@ +const TestClass = preload("gdscript_duplicate_class.notest.gd") + +func test(): + # TestClass.duplicate() fails + @warning_ignore("return_value_discarded") + (TestClass as GDScript).duplicate() |