Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GDScript: Consolidate behavior for assigning enum types | George Marques | 2022-02-03 | 1 | -0/+5 |
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. |