virtualx-engine/modules/gdscript/tests
ocean (they/them) 25c90836fd GDScript: do not warn of return value discarded for super() inside _init()
DO NOT BATCH MERGE WITH #77324, WILL RESULT IN BROKEN CI

Currently, calling super() inside _init() throws a
RETURN_VALUE_DISCARDED warning. The analyzer identifies super() as being a
constructor, which therefore returns an object of the relevant class.
However, super() isn't really a constructor by itself: in this case, it
is _part_ of the constructor, and so doesn't "return" a value.

A test case for this is already in #77324, which contains the warning. I
am duplicating it here, without the warning, and it should conflict with
the other PR.
2023-05-22 09:29:34 -04:00
..
scripts GDScript: do not warn of return value discarded for super() inside _init() 2023-05-22 09:29:34 -04:00
gdscript_test_runner.cpp Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
gdscript_test_runner.h Add option to print filenames in GDScript unit testing 2023-01-30 22:20:45 -05:00
gdscript_test_runner_suite.h Add option to print filenames in GDScript unit testing 2023-01-30 22:20:45 -05:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
test_gdscript.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_gdscript.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

GDScript integration tests

The scripts/ folder contains integration tests in the form of GDScript files and output files.

See the Integration tests for GDScript documentation for information about creating and running GDScript integration tests.