diff options
| author | clayjohn <claynjohn@gmail.com> | 2022-10-13 12:42:11 -0700 |
|---|---|---|
| committer | clayjohn <claynjohn@gmail.com> | 2022-10-14 10:43:42 -0700 |
| commit | 0a51bb4ca54fa9fd15b40dac28476eae6ff0c816 (patch) | |
| tree | 765ab472e450cd7308f16082cf442cad58fb8e8c /modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out | |
| parent | 39534a7aecc4ca4215af67244b23dda09ea339f8 (diff) | |
| download | redot-engine-0a51bb4ca54fa9fd15b40dac28476eae6ff0c816.tar.gz | |
Add STATIC_CALLED_ON_INSTANCE warning to highlight
when static functions are called directly from objects
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out')
| -rw-r--r-- | modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out b/modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out new file mode 100644 index 0000000000..3933a35178 --- /dev/null +++ b/modules/gdscript/tests/scripts/parser/warnings/static_called_on_instance.out @@ -0,0 +1,7 @@ +GDTEST_OK +>> WARNING +>> Line: 11 +>> STATIC_CALLED_ON_INSTANCE +>> The function 'num_uint64()' is a static function but was called from an instance. Instead, it should be directly called from the type: 'String.num_uint64()'. +8589934592 +8589934592 |
