summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
AgeCommit message (Collapse)Author
2023-01-08GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov
2023-01-06GDScript: Fix typing of lambda functionsDmitrii Maganov
2023-01-06GDScript: Fix array as default value for parameterDmitrii Maganov
2023-01-06Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #70859 from vonagam/fix-preload-native-typeRémi Verschelde
GDScript: Fix wrong native type for preloaded class
2023-01-03Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde
GDScript: Error when assigning return value of void function
2023-01-03Merge pull request #70656 from vonagam/fix-void-returnsRémi Verschelde
GDScript: Disallow return with value in void functions
2023-01-03GDScript: Fix wrong native type for preloaded classDmitrii Maganov
2022-12-30Merge pull request #62688 from cdemirer/assignments-and-typesGeorge Marques
Fixes https://github.com/godotengine/godot/issues/62650
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-12-30Merge pull request #70613 from vonagam/fix-enum-as-constantGeorge Marques
Fixes https://github.com/godotengine/godot/issues/54018 Fixes https://github.com/godotengine/godot/issues/70213 Fixes https://github.com/godotengine/godot/issues/70495
2022-12-30GDScript: Error when assigning return value of void functionGeorge Marques
This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case.
2022-12-29GDScript: Disallow return with value in void functionsDmitrii Maganov
2022-12-28Fix usage of Enum as constantDmitrii Maganov
2022-12-27GDScript: Fix return type of constructor call for extending classDmitrii Maganov
2022-12-25Fix type adjustment skipped when value is considered both not hard and not ↵cdemirer
variant
2022-12-23Merge pull request #69991 from rune-scape/cast-typeRémi Verschelde
GDScript: Fix cast producing null
2022-12-23Merge pull request #70220 from adamscott/fix-external-enumRémi Verschelde
Fix external enums not assignable as constants
2022-12-22Merge pull request #70440 from rune-scape/null-againRémi Verschelde
Fix GDScript analyzer null literal
2022-12-22Fix GDScript analyzer null literalrune-scape
2022-12-21Add MethodInfo to signal datatypeocean (they/them)
2022-12-17Fix external enums not assignable as constantsAdam Scott
- Add external enums test - Rename external inner class test - Clean up `GDScriptAnalyzer::reduce_identifier_from_base` class behavior
2022-12-17Fix outer class lookupAdam Scott
2022-12-17Fix inner class constant assignmentAdam Scott
2022-12-16Fix enum value regressionrune-scape
2022-12-15Merge pull request #69471 from rune-scape/rune-out-of-orderRémi Verschelde
GDScript: Out of order member resolution
2022-12-14GDScript: Allow out of order member resolutionrune-scape
2022-12-12GDScript: Fix cast producing nullrune-scape
2022-12-12Fix String type compatibility being too permissiverune-scape
2022-12-10Fix constant base typing in extended GDScript classAdam Scott
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-05Unify String and StringNamerune-scape
2022-12-06Fix incomplete shadowing of member properties by parametersDmitrii Maganov
2022-12-01Improve parent signature errorkobewi
2022-11-25Fix singleton scene cyclic loadingAdam Scott
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-11-18Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde
Fix cyclic references in GDScript 2.0
2022-11-18Fix cyclic references in GDScript 2.0Adam Scott
2022-11-17Fix ability to overload "script" variableocean (they/them)
2022-11-13GDScript compiler subclass bugfixesRune
2022-11-02Merge pull request #68125 from ↵Rémi Verschelde
kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range`
2022-11-02GDScript Fix type mismatch in optimized single arg `range`kleonc
2022-11-01Support for checking that Projection is(not) nullRafał Mikrut
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-10-07Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-08-31Improve null and object printing to avoid confusion with arraysHugo Locurcio
- Use different syntax for object printing to avoid confusion with arrays. - Print null as `<null>` to avoid confusion with a string `"null"`. - Display `<empty>` in editor resource pickers to avoid confusion with array-based properties.
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke