Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GDScript: Fix non-static call is allowed in static var lambda body | Danil Alexeev | 2023-10-20 | 1 | -15/+27 |
| | |||||
* | Merge pull request #83455 from Lunarisnia/fix/gdscript-error-typo | Rémi Verschelde | 2023-10-17 | 1 | -1/+1 |
|\ | | | | | | | Fix grammar typo in GDScript error message | ||||
| * | Fix grammar typo in GDScript error message | Lunarisnia | 2023-10-17 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #83257 from ↵ | Rémi Verschelde | 2023-10-16 | 1 | -3/+8 |
|\ \ | | | | | | | | | | | | | | | | dalexeev/gds-fix-unresolved-type-for-incomplete-expressions GDScript: Fix unresolved datatype for incomplete expressions | ||||
| * | | GDScript: Fix unresolved datatype for incomplete expressions | Danil Alexeev | 2023-10-13 | 1 | -3/+8 |
| |/ | |||||
* / | GDScript: Fix incorrect error message for utility functions | Danil Alexeev | 2023-10-16 | 1 | -16/+18 |
|/ | |||||
* | GDScript: Add error when exporting node in non [Node]-derived classes | Danil Alexeev | 2023-10-05 | 1 | -10/+10 |
| | |||||
* | Merge pull request #82789 from ↵ | Rémi Verschelde | 2023-10-05 | 1 | -0/+3 |
|\ | | | | | | | | | | | dalexeev/gds-fix-unresolved-type-for-incomplete-bin-op GDScript: Fix unresolved datatype for incomplete binary operator | ||||
| * | GDScript: Fix unresolved datatype for incomplete binary operator | Danil Alexeev | 2023-10-04 | 1 | -0/+3 |
| | | |||||
* | | GDScript: Fix `native_type` is empty for autoload without script | Danil Alexeev | 2023-10-04 | 1 | -2/+6 |
|/ | |||||
* | GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors | Danil Alexeev | 2023-09-30 | 1 | -7/+21 |
| | |||||
* | Merge pull request #82477 from dalexeev/gds-covariance-and-contravariance | Yuri Sizov | 2023-09-28 | 1 | -4/+31 |
|\ | | | | | | | GDScript: Add return type covariance and parameter type contravariance | ||||
| * | GDScript: Add return type covariance and parameter type contravariance | Danil Alexeev | 2023-09-28 | 1 | -4/+31 |
| | | |||||
* | | Merge pull request #82030 from dalexeev/gds-make-for-loop-array-literal-typed | Yuri Sizov | 2023-09-28 | 1 | -7/+13 |
|\ \ | | | | | | | | | | GDScript: Make array literal typed if `for` loop variable type is specified | ||||
| * | | GDScript: Make array literal typed if `for` loop variable type is specified | Danil Alexeev | 2023-09-21 | 1 | -7/+13 |
| | | | |||||
* | | | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 1 | -0/+4 |
|\ \ \ | |_|/ |/| | | | | | GDScript: Implement pattern guards for match statement | ||||
| * | | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Within a match statement, it is now possible to add guards in each branch: var a = 0 match a: 0 when false: print("does not run") 0 when true: print("but this does") This allows more complex logic for deciding which branch to take. | ||||
* | | | Merge pull request #75988 from dalexeev/gds-unsafe-call-argument | Yuri Sizov | 2023-09-27 | 1 | -35/+55 |
|\ \ \ | |/ / |/| | | | | | GDScript: Improve call analysis | ||||
| * | | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 1 | -35/+55 |
| |/ | | | | | | | | | | | * Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods. | ||||
* | | [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-26 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning | Rémi Verschelde | 2023-09-26 | 1 | -3/+10 |
|\ \ | | | | | | | | | | GDScript: Add `INFERRED_DECLARATION` warning | ||||
| * | | GDScript: Add `INFERRED_DECLARATION` warning | Danil Alexeev | 2023-09-22 | 1 | -3/+10 |
| |/ | |||||
* | | Check if any global script class is shadowed by a variable | Chia-Hsiang Cheng | 2023-09-26 | 1 | -1/+5 |
| | | |||||
* | | GDScript: Prevent constructing and inheriting engine singletons | Danil Alexeev | 2023-09-22 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #81332 from ↵ | Rémi Verschelde | 2023-09-20 | 1 | -2/+2 |
|\ | | | | | | | | | | | dalexeev/gds-fix-update-array-literal-in-weak-context GDScript: Don't make array literal typed in weak type context | ||||
| * | GDScript: Don't make array literal typed in weak type context | Danil Alexeev | 2023-09-05 | 1 | -2/+2 |
| | | |||||
* | | GDScript: Fix subscript resolution for constant non-metatypes | Danil Alexeev | 2023-09-19 | 1 | -1/+1 |
| | | |||||
* | | GDScript: Add check for `super()` methods not being implemented | ocean (they/them) | 2023-09-17 | 1 | -1/+7 |
| | | |||||
* | | Merge pull request #81577 from anvilfolk/thecycleeeeeeeeeeeeesaaaaaaaaaaaaah | Rémi Verschelde | 2023-09-16 | 1 | -2/+2 |
|\ \ | | | | | | | | | | GDScript: Fix compilation of expressions compiling other classes | ||||
| * | | GDScript: Fix compilation of expressions compiling other classes | ocean (they/them) | 2023-09-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | This PR is part of ongoing work on fixing cyclic dependencies in the GDScript compiler. | ||||
* | | | Remove REDUNDANT_FOR_VARIABLE_TYPE | ryanabx | 2023-09-12 | 1 | -8/+0 |
|/ / | | | | | | | Remove REDUNDANT_FOR_VARIABLE_TYPE | ||||
* | | Add "untyped_declaration" warning | ryanabx | 2023-09-11 | 1 | -13/+37 |
| | | |||||
* | | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 1 | -4/+6 |
|/ | |||||
* | Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types | Yuri Sizov | 2023-08-25 | 1 | -116/+155 |
|\ | | | | | | | GDScript: Allow use local constants as types | ||||
| * | GDScript: Allow use local constants as types | Danil Alexeev | 2023-08-25 | 1 | -116/+155 |
| | | |||||
* | | GDScript: Fix lambda resolution with cyclic references | Danil Alexeev | 2023-08-25 | 1 | -30/+63 |
|/ | |||||
* | GDScript: Add static typing for `for` loop variable | Danil Alexeev | 2023-08-17 | 1 | -1/+33 |
| | |||||
* | Merge pull request #78552 from dalexeev/gds-check-get-node-in-static-func | Rémi Verschelde | 2023-08-17 | 1 | -6/+15 |
|\ | | | | | | | GDScript: Check `get_node()` shorthand in static functions | ||||
| * | GDScript: Check `get_node()` shorthand in static functions | Danil Alexeev | 2023-08-09 | 1 | -6/+15 |
| | | |||||
* | | GDScript: Fix "Identifier not found" error when accessing inner class from ↵ | Danil Alexeev | 2023-08-11 | 1 | -0/+3 |
|/ | | | | inside | ||||
* | GDScript: Fix bug with identifier shadowed below in current scope | Danil Alexeev | 2023-07-26 | 1 | -0/+19 |
| | |||||
* | Merge pull request #75620 from ↵ | Yuri Sizov | 2023-07-25 | 1 | -24/+23 |
|\ | | | | | | | | | | | jpcerrone/fix_shadow_warnings_not_going_away_after_ignoring Fix for not being able to ignore shadowing warnings on class scope | ||||
| * | Fix for not being able to ignore shadowing warnings on class scope | jpcerrone | 2023-07-24 | 1 | -24/+23 |
| | | |||||
* | | Script editor: Show depended script errors | rune-scape | 2023-07-24 | 1 | -0/+4 |
|/ | |||||
* | GDScript: fix regression when checking for virtual function implementation. | ocean (they/them) | 2023-06-21 | 1 | -10/+0 |
| | | | | | | | | | | | | Unfortunately it appears the virtual function checks in #77324 are not trustworthy at runtime, because objects can have scripts attached, but this information is not always available at compile-time. These checks need to be removed. The rest of the PR is still useful, making all method flags available to the analyzer, so a full revert isn't necessary/desirable. This reopens #76938, which will need another solution. | ||||
* | Make container element type comparison safe | Yuri Sizov | 2023-06-20 | 1 | -1/+1 |
| | |||||
* | Merge pull request #73540 from mashumafi/fix-typed-array-add | Rémi Verschelde | 2023-06-20 | 1 | -3/+22 |
|\ | | | | | Fix: Typed arrays aren't working with + | ||||
| * | Fix: Typed arrays aren't working with + | mashumafi | 2023-02-22 | 1 | -3/+22 |
| | | |||||
* | | Merge pull request #77129 from dalexeev/gds-fix-static-var-bugs-part-1 | Rémi Verschelde | 2023-06-19 | 1 | -2/+8 |
|\ \ | | | | | | | | | | GDScript: Fix some bugs with static variables and functions | ||||
| * | | GDScript: Fix some bugs with static variables and functions | Danil Alexeev | 2023-06-16 | 1 | -2/+8 |
| | | |