George Marques
ad6e2e82a9
GDScript: Consolidate behavior for assigning enum types
...
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-02-03 13:32:16 -03:00
..
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-11-13 21:47:24 +03:00
2021-12-13 11:54:23 +03:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00
2021-09-14 18:42:08 +02:00