summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser
AgeCommit message (Collapse)Author
2021-09-21Merge pull request #52906 from vnen/gdscript-show-error-on-yieldRémi Verschelde
2021-09-21Merge pull request #52905 from vnen/gdscript-single-line-declarationRémi Verschelde
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-21GDScript: Allow classes declaration to be done in single lineGeorge Marques
Incidentally, allow multiple statements in single line functions when using semicolon as a terminator.
2021-09-21GDScript: Allow multiple lines in signal parameters declarationGeorge Marques
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-15GDScript: Allow string keys on Lua-style dictionariesGeorge Marques
Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys.
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-13Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscriptRémi Verschelde
Fix parse error on statement-less files with only newlines, add a warning for empty files.
2021-09-11Fix error on parsing statement-less GDScript files,ThreeRhinosInAnElephantCostume
add an empty file warning, add relevant tests.
2021-09-10GDScript: Removed spurious UNASSIGNED_VARIABLE warning for localsZuBsPaCe
Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551
2021-09-10Fix crash with consecutive commas in Dictionarykobewi
2021-09-10Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreezeGeorge Marques
Fix gdscript pattern matching expressions
2021-09-03Added tests for expression matchingThreeRhinosInAnElephantCostume
2021-08-27GDScript test style fixMax Hilbrunner
2021-08-27Merge pull request #52090 from balloonpopper/bug52060Max Hilbrunner
Correct null and boolean values being capitalised by the str command
2021-08-26Correct null and boolean values being capitalised by the str commandBalloonpopper
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)