summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/warnings
AgeCommit message (Collapse)Author
2023-01-29GDScript: Fix constant conversionsDmitrii Maganov
2023-01-21Add support for Unicode identifiers in GDScriptGeorge Marques
This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything.
2022-12-30GDScript: Make using return of void function an errorGeorge Marques
Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now.
2022-11-21change RETURN_VALUE_DISCARDED GDScript warn textsouplamp
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.
2022-10-14Add STATIC_CALLED_ON_INSTANCE warning to highlightclayjohn
when static functions are called directly from objects
2022-10-13Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn
2022-05-18Merge pull request #55201 from Scony/fix-unreachable-code-false-positiveRĂ©mi Verschelde
2022-02-03GDScript: Consolidate behavior for assigning enum typesGeorge Marques
This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future.
2021-12-13Fix shadowed global identifier warning duplicationYuri Roubinsky
2021-11-21Fix 'unreachable-code' false-positive, fixes #55154Pawel Lampe
2021-11-13Allow using built-in names for variables, push warnings insteadYuri Roubinsky
2021-09-14Add dozens of new integration tests to the GDScript test suiteHugo Locurcio
This also ignores `.out` files in the file format static checks.
2021-09-11Fix error on parsing statement-less GDScript files,ThreeRhinosInAnElephantCostume
add an empty file warning, add relevant tests.
2021-04-16Rename GDScript test script filenames to use `snake_case`Andrii Doroshenko (Xrayez)