change RETURN_VALUE_DISCARDED GDScript warn text

changed RETURN_VALUE_DISCARDED GDscript warning text to mention how the return value of a function is discarded; update GDScript parser warning test to include new warning text.
This commit is contained in:
souplamp 2022-11-19 21:16:54 -06:00
parent 895428c805
commit 5bdd883dfd
2 changed files with 2 additions and 2 deletions

View file

@ -2,4 +2,4 @@ GDTEST_OK
>> WARNING
>> Line: 6
>> RETURN_VALUE_DISCARDED
>> The function 'i_return_int()' returns a value, but this value is never used.
>> The function 'i_return_int()' returns a value that will be discarded if not used.