summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime/errors
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when division by zero/modulo by zero happen on vectorsChaosus2024-11-214-0/+18
|
* Core: Fix `operator[]` for typed dictionariesThaddeus Crews2024-09-124-0/+26
|
* Implement typed dictionariesThaddeus Crews2024-09-0410-0/+58
|
* [Core] Fix `Variant::construct` of `Object`A Thousand Ships2024-07-252-0/+15
| | | | Variant type was not updated correctly causing leaks in ref-counted
* Core: Improve vformat error reporting on sprintf failureRémi Verschelde2024-07-041-0/+1
| | | | And fix a few occurrences of formatting errors that led me to this.
* [GDScript] Correctly report invalid read-only accessA Thousand Ships2024-05-013-3/+3
|
* [Core] Fix property access on read-only `Dictionary`A Thousand Ships2024-04-222-0/+10
|
* Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warningRémi Verschelde2024-04-098-0/+40
|\ | | | | | | GDScript: Fix `UNSAFE_CAST` warning
| * GDScript: Fix `UNSAFE_CAST` warningDanil Alexeev2023-10-278-0/+40
| |
* | Merge pull request #82639 from golfinq/gdscript-improve-indexing-errorRémi Verschelde2024-01-042-2/+2
|\ \ | |/ |/| | | GDScript: Improve error messages for invalid indexing
| * GDScript: Improve error messages for invalid indexingRémi Verschelde2023-10-022-2/+2
| | | | | | | | | | | | | | | | | | These errors are very common when using an invalid property name or calling on an object of the wrong type, and the previous message was a bit cryptic for users. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> Co-authored-by: golfinq <golfinqz@gmail.com>
* | GDScript: Fix incorrect error message for utility functionsDanil Alexeev2023-10-164-0/+18
|/
* GDScript: Add static typing for `for` loop variableDanil Alexeev2023-08-172-0/+10
|
* GDScript: Fix `_get_script_name()` function collision for SCU buildDanil Alexeev2023-06-202-2/+2
|
* GDScript: Further restrict test error output for C++ errorsRémi Verschelde2023-06-141-1/+0
| | | | MSVC and GCC/Clang also have different function names...
* GDScript: Only include script file path in test error outputRémi Verschelde2023-06-141-2/+0
| | | | | | | Errors originating in C++ files cause unnecessary diffs whenever the engine is updated (line number changes, etc.) and would cause CI failures due to different formatting of the file path on Windows (backslashes, worked around here anyway) and when using SCU builds (`../scu` insert).
* GDScript: Allow elements of a parent class in a typed array literalDmitrii Maganov2023-03-282-0/+14
|
* GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-318-0/+46
|
* GDScript: Avoid calling non-static methods on native classesGeorge Marques2023-01-282-0/+12
|
* GDScript: Fix test for read-only state of constantsDmitrii Maganov2023-01-274-22/+0
|
* Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques2023-01-122-0/+16
|\
| * GDScript: Fix missing conversion for default argument valuesDmitrii Maganov2023-01-062-0/+16
| |
* | Add GDScript `.editorconfig` rulesAdam Scott2023-01-101-1/+1
| | | | | | | | - Uniformize `.gd` unit test files indentation to tabs (where needed)
* | GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov2023-01-088-0/+46
|/
* GDScript: Error when assigning return value of void functionGeorge Marques2022-12-306-0/+30
| | | | | This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case.
* GDScript: Allow tests to run on release buildsGeorge Marques2022-02-032-1/+2
| | | | | | | | | - 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.
* Make Callable not crash on call when the object has been freedGeorge Marques2021-05-242-0/+11
Also add a GDScript test for this case.