summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/errors
AgeCommit message (Collapse)Author
2023-02-23GDScript: Fix parsing unexpected break/continue in lambdaDmitrii Maganov
2023-01-31Fix global script class parsing.Juan Linietsky
* Broke with #72226 * Restored previous version of the code, made it even more error tolerant. * Added a warning to **not** change the code. Fixes #72226.
2023-01-24Clarify error message about script-level annotationDanil Alexeev
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.
2023-01-16Merge pull request #67774 from aaronfranke/script-annotationsRémi Verschelde
Make script annotations be placed before `class_name` and `extends`
2023-01-10Add GDScript `.editorconfig` rulesAdam Scott
- Uniformize `.gd` unit test files indentation to tabs (where needed)
2022-12-19Make script annotations placed before class_name and extendsAaron Franke
2022-07-06Merge pull request #62701 from cdemirer/for-variable-conflictRémi Verschelde
2022-07-05Add grouping annotations for class properties in GDScriptYuri Sizov
2022-07-04Do error when for variable conflicts with a variable in scopecdemirer
2022-05-27GDScript: 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-23GDScript: Do not allow standalone lambdasGeorge 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-04-04Fix issues with multiple bind patterns in match statementcdemirer
2021-11-21Fix GDScript parser crash on 'dollar mixed with assignment' expressionPawel Lampe
fixes #53696
2021-10-28Improve GDScript indentation error messageMax Hilbrunner
2021-09-21GDScript: Show specific error when "yield" is usedGeorge Marques
To help people porting code, it gives a hint to use "await" instead of a generic error.
2021-09-21Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2Rémi Verschelde
2021-09-17GDScript: Properly catch error when missing index in subscriptGeorge Marques
2021-09-15Add more integration tests to the GDScript test suiteHugo Locurcio
This also fixes a typo in the `bitwise_float_right_operand.gd` test.
2021-09-15Merge pull request #52706 from vnen/gdscript-ternary-operator-crashRémi Verschelde
GDScript: Show error when missing expression after ternary else
2021-09-15GDScript: Show error when missing expression after ternary elseGeorge Marques
2021-09-15GDScript: Show error on unary operators without argumentGeorge Marques
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-10Fix crash with consecutive commas in Dictionarykobewi
2021-08-25Fixed crash when parsing an empty assignment.Louis Dumont
Resolves #51620.
2021-04-16Rename GDScript test script filenames to use `snake_case`Andrii Doroshenko (Xrayez)