diff options
author | George Marques <george@gmarqu.es> | 2022-01-27 11:34:33 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2022-02-03 13:32:16 -0300 |
commit | ad6e2e82a9e2f7e6f6db99a7be474a1f2f2739bf (patch) | |
tree | ae31aceea86a096265e7885f76e4d4d7d9da8659 /editor/icons | |
parent | 82efb1d262aea24b5f742820017fd11c496c3f8c (diff) |
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.
Diffstat (limited to 'editor/icons')
0 files changed, 0 insertions, 0 deletions