summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix unnammed enum crash regressionocean (they/them)2023-01-181-1/+1
|
* Merge pull request #71279 from vonagam/fix-iterator-number-typeRémi Verschelde2023-01-161-12/+43
|\ | | | | GDScript: Fix typing of iterator in for loop
| * GDScript: Fix typing of iterator in for loopDmitrii Maganov2023-01-131-12/+43
| |
* | Fix cyclic reference errors while reducing identifiers.Adam Scott2023-01-151-2/+2
| | | | | | | | Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
* | GDScript: Fix infinite recursion in resolution of enum valuesGeorge Marques2023-01-131-2/+2
|/
* Merge pull request #70733 from vonagam/fix-assigning-untypedRémi Verschelde2023-01-121-81/+114
|\ | | | | | | GDScript: Fix some issues with assignments that involve untyped things
| * GDScript: Fix some issues with assignments that involve untyped thingsDmitrii Maganov2023-01-121-81/+114
| |
* | GDScript: Fix extending abstract classes, forbid their constructionDmitrii Maganov2023-01-121-12/+20
|/
* GDScript: Fix getting type from PropertyInfo for Variant argumentsDmitrii Maganov2023-01-121-10/+7
|
* Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques2023-01-121-6/+3
|\
| * GDScript: Fix missing conversion for default argument valuesDmitrii Maganov2023-01-061-6/+3
| |
* | GDScript: Fix small inconsistencies with resolve_datatypeDmitrii Maganov2023-01-121-35/+21
| |
* | GDScript: Fix use of conversion assign for variant valuesGeorge Marques2023-01-101-2/+2
| |
* | Merge pull request #71140 from vonagam/fix-const-index-subscript-typeRémi Verschelde2023-01-101-9/+3
|\ \ | | | | | | GDScript: Fix type for index subscript on constant
| * | GDScript: Fix type for index subscript on constantDmitrii Maganov2023-01-101-9/+3
| | |
* | | Fix GDScript base and outer classes, signals and functions lookup orderAdam Scott2023-01-091-81/+82
|/ / | | | | | | | | | | | | - Add outer class lookup test - Add signal lookup test Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
* | Merge pull request #71051 from vonagam/consts-are-deep-startRémi Verschelde2023-01-091-14/+20
|\ \ | | | | | | GDScript: Begin making constants deep, not shallow or flat
| * | GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov2023-01-081-14/+20
| | |
* | | Merge pull request #69590 from anvilfolk/enumsRémi Verschelde2023-01-091-70/+137
|\ \ \ | | | | | | | | | | | | GDScript enum fixes & refactor
| * | | Assorted enum and native type fixesocean (they/them)2023-01-091-70/+137
| |/ /
* | | Merge pull request #71107 from vnen/gdscript-fix-nil-address-assignRémi Verschelde2023-01-091-3/+3
|\ \ \ | |/ / |/| | | | | GDScript: Don't use the NIL address to hold return value of functions
| * | GDScript: Allow using await on calls to void functionsGeorge Marques2023-01-091-3/+3
| |/
* / GDScript: Fix typing of lambda functionsDmitrii Maganov2023-01-061-24/+14
|/
* Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov2023-01-061-305/+134
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Merge pull request #70859 from vonagam/fix-preload-native-typeRémi Verschelde2023-01-031-2/+3
|\ | | | | | | GDScript: Fix wrong native type for preloaded class
| * GDScript: Fix wrong native type for preloaded classDmitrii Maganov2023-01-031-2/+3
| |
* | Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde2023-01-031-15/+13
|\ \ | | | | | | | | | GDScript: Error when assigning return value of void function
| * | GDScript: Make using return of void function an errorGeorge Marques2022-12-301-15/+13
| | | | | | | | | | | | | | | Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now.
* | | Merge pull request #70656 from vonagam/fix-void-returnsRémi Verschelde2023-01-031-0/+3
|\ \ \ | |_|/ |/| | | | | GDScript: Disallow return with value in void functions
| * | GDScript: Disallow return with value in void functionsDmitrii Maganov2022-12-291-0/+3
| |/
* | Merge pull request #62688 from cdemirer/assignments-and-typesGeorge Marques2022-12-301-14/+10
|\ \ | | | | | | Fixes https://github.com/godotengine/godot/issues/62650
| * | Fix type adjustment skipped when value is considered both not hard and not ↵cdemirer2022-12-251-14/+10
| |/ | | | | | | variant
* | Merge pull request #70613 from vonagam/fix-enum-as-constantGeorge Marques2022-12-301-5/+8
|\ \ | | | | | | | | | | | | Fixes https://github.com/godotengine/godot/issues/54018 Fixes https://github.com/godotengine/godot/issues/70213 Fixes https://github.com/godotengine/godot/issues/70495
| * | Fix usage of Enum as constantDmitrii Maganov2022-12-281-5/+8
| |/
* / GDScript: Fix return type of constructor call for extending classDmitrii Maganov2022-12-271-1/+1
|/
* Merge pull request #70220 from adamscott/fix-external-enumRémi Verschelde2022-12-231-1/+9
|\ | | | | | | Fix external enums not assignable as constants
| * Fix external enums not assignable as constantsAdam Scott2022-12-171-1/+9
| | | | | | | | | | | | | | - Add external enums test - Rename external inner class test - Clean up `GDScriptAnalyzer::reduce_identifier_from_base` class behavior
* | Merge pull request #70440 from rune-scape/null-againRémi Verschelde2022-12-221-11/+9
|\ \ | | | | | | | | | Fix GDScript analyzer null literal
| * | Fix GDScript analyzer null literalrune-scape2022-12-221-11/+9
| | |
* | | Add MethodInfo to signal datatypeocean (they/them)2022-12-211-10/+11
| | |
* | | Unify GDScriptAnalyzer in-editor and runtime autoload checksocean (they/them)2022-12-201-13/+4
| | |
* | | Fix autoload subscript regressionrune-scape2022-12-181-1/+1
|/ /
* / Fix outer class lookupAdam Scott2022-12-171-1/+1
|/
* Fix inner class constant assignmentAdam Scott2022-12-171-0/+10
|
* Merge pull request #70000 from rune-scape/find-more-classesRémi Verschelde2022-12-171-25/+15
|\ | | | | GDScript: Fix built-in script `find_class` bugs
| * GDScript: Fix built-in script and other `find_class` bugsrune-scape2022-12-151-25/+15
| |
* | Fix enum value regressionrune-scape2022-12-161-1/+3
| |
* | Merge pull request #70131 from rune-scape/preload-type-regressionRémi Verschelde2022-12-161-1/+2
|\ \ | | | | | | Fix preload type regression
| * | Fix preload type regressionrune-scape2022-12-151-1/+2
| |/