Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-01 | Improve parent signature error | kobewi | |
2022-11-21 | change RETURN_VALUE_DISCARDED GDScript warn text | souplamp | |
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-18 | Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2 | Rémi Verschelde | |
Fix cyclic references in GDScript 2.0 | |||
2022-11-18 | Fix cyclic references in GDScript 2.0 | Adam Scott | |
2022-11-17 | Fix ability to overload "script" variable | ocean (they/them) | |
2022-11-13 | GDScript compiler subclass bugfixes | Rune | |
2022-11-02 | Merge 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-02 | GDScript Fix type mismatch in optimized single arg `range` | kleonc | |
2022-11-01 | Support for checking that Projection is(not) null | Rafał Mikrut | |
2022-10-14 | Add STATIC_CALLED_ON_INSTANCE warning to highlight | clayjohn | |
when static functions are called directly from objects | |||
2022-10-13 | Implement RETURN_VALUE_DISCARDED warning in GDscript | clayjohn | |
2022-10-04 | Improve dictionary printing to avoid confusion with arrays | Hugo 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-31 | Improve null and object printing to avoid confusion with arrays | Hugo 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-07 | fix(gdscript): Infer type from preload const | Antonio Dell'Annunziata | |
When resolving the type of the attribute from the variant, the result_type.kind was overritten for no reason. It is assumed that this only needs to be done, if the variant value is not valid to have any kind here. Solves #63715 | |||
2022-07-06 | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | |
2022-07-05 | Add grouping annotations for class properties in GDScript | Yuri Sizov | |
2022-07-04 | Do error when for variable conflicts with a variable in scope | cdemirer | |
2022-06-28 | Fix set chain bug with jump_if_shared | cdemirer | |
2022-06-15 | Merge pull request #61666 from nathanfranke/fix-match-bind | George Marques | |
gdscript: use correct error for unused bind match, suppress with underscore | |||
2022-06-14 | Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-error | George Marques | |
Fix logic errors in match-statement Array & Dictionary patterns | |||
2022-06-03 | use correct error for unused bind match, suppress with underscore | Nathan Franke | |
2022-05-31 | Merge pull request #61440 from vnen/gdscript-scene-unique-nodes | Rémi Verschelde | |
GDScript: Support `%` in shorthand for `get_node` | |||
2022-05-27 | GDScript: Support `%` in shorthand for `get_node` | George Marques | |
The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name. | |||
2022-05-25 | Merge pull request #61279 from Trioct/fix-typed-array-assignment | Rémi Verschelde | |
2022-05-25 | Fix const typed array assignment | Trioct | |
2022-05-24 | GDScript: Don't show redundant await warning on unknown types | George Marques | |
Also avoid it when the type is known to be a signal. | |||
2022-05-23 | GDScript: Fix lambda captures in default argument values | George Marques | |
2022-05-23 | GDScript: Fix `if` after lambda being seen as ternary | George Marques | |
2022-05-23 | GDScript: Do not allow standalone lambdas | George Marques | |
They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | |||
2022-05-18 | Merge pull request #55201 from Scony/fix-unreachable-code-false-positive | Rémi Verschelde | |
2022-05-11 | Merge pull request #59863 from cdemirer/fix-match-multiple-bind-single-pattern | Rémi Verschelde | |
Fix issues with multiple bind patterns in match statement | |||
2022-05-11 | Merge pull request #60732 from CalebJohn/matching_signature_regression_test | Rémi Verschelde | |
2022-05-03 | Add regression test for gdscript valid function signature | CalebJohn | |
Previously, there was an issue where the gdscript analyzer incorrectly riased a validation error for code that had a default Dictionary, Array, or custom type. | |||
2022-05-03 | quote strings inside arrays and dictionaries | Nathan Franke | |
2022-04-27 | Merge pull request #60396 from vnen/gdscript-self-lambda | Rémi Verschelde | |
2022-04-24 | GDScript: Allow using self in lambdas | George Marques | |
2022-04-19 | Fixes GDScript define nested dictionary and array as constants #50285 | PastMoments | |
2022-04-04 | Fix issues with multiple bind patterns in match statement | cdemirer | |
2022-03-06 | GDScript: Check if method signature matches the parent | George Marques | |
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up. | |||
2022-03-04 | Add test cases for accessing parent elements from child class | strank | |
2022-03-02 | Fix logic errors in match-statement Array & Dictionary Patterns | cdemirer | |
2022-02-04 | Merge pull request #57591 from vnen/gdscript-enum-fixes | Rémi Verschelde | |
2022-02-03 | GDScript: Treat enum values as int and enum types as dictionary | George Marques | |
Since enums resolve to a dictionary at runtime, calling dictionary methods on an enum type is a valid use case. This ensures this is true by adding test cases. This also makes enum values be treated as ints when used in operations. | |||
2022-02-03 | GDScript: Allow tests to run on release builds | George Marques | |
- Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds. | |||
2022-02-03 | GDScript: Consolidate behavior for assigning enum types | George 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. | |||
2022-01-23 | Merge pull request #57052 from KoBeWi/nosort | Rémi Verschelde | |
2022-01-22 | Merge pull request #55214 from Scony/fix-gdscript-crash-2 | Rémi Verschelde | |
Fix GDScript parser crash on 'dollar mixed with assignment' expression | |||
2022-01-22 | Don't sort printed Dictionary | kobewi | |
2022-01-13 | GDScript: Fix parsing default parameter values from function calls | strank | |
2022-01-04 | GDScript: Add annotation to ignore warnings | George Marques | |