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-17 11:52:30 -03:00
2021-10-06 11:39:00 -03:00
2021-08-26 17:11:34 +10:00
2021-08-18 18:58:41 -03:00
2021-08-26 17:11:34 +10:00
2021-10-13 22:39:12 -04:00
2021-10-13 22:39:12 -04:00
2021-10-06 11:42:19 -03:00
2021-10-06 11:42:19 -03:00
2021-08-24 14:45:51 -03:00
2021-09-13 15:02:01 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2022-02-03 13:32:16 -03:00
2021-08-24 14:45:51 -03:00
2021-09-13 15:02:01 -03:00
2021-08-24 14:45:51 -03:00
2021-09-13 15:02:01 -03:00
2021-08-18 18:56:21 -03:00
2021-08-18 18:56:21 -03:00
2021-08-18 18:56:21 -03:00
2021-08-18 18:56:21 -03:00
2021-10-06 11:42:19 -03:00
2021-10-06 11:42:19 -03:00
2021-10-08 22:06:15 +02:00
2021-10-08 22:06:15 +02:00
2021-10-08 22:06:15 +02:00
2021-10-08 22:06:15 +02:00
2021-09-15 19:57:39 +02:00
2021-09-15 19:57:39 +02:00
2021-10-06 12:01:34 -03:00
2021-10-06 12:01:34 -03:00
2021-10-15 10:40:50 -03:00
2021-10-15 10:40:50 -03:00
2021-10-12 10:41:04 -03:00
2021-10-12 10:41:04 -03:00
2021-08-18 18:56:21 -03:00
2021-08-18 18:56:21 -03:00
2022-01-04 09:32:43 -03:00
2022-01-04 09:32:43 -03:00