diff options
author | George Marques <george@gmarqu.es> | 2022-02-02 13:57:24 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2022-02-03 13:32:34 -0300 |
commit | ceafdf347e5ecc050629fd4eac93030dabb0d0e9 (patch) | |
tree | aee0a540ef38b6815561697312fad720912b17d6 /scene | |
parent | b013c0d544e784392020aa693fd248fa52f450c2 (diff) |
GDScript: Treat enum values as int and enum types as dictionary
Since enums resolve to a dictionary at runtime, calling dictionary
methods on an enum type is a valid use case. This ensures this is true
by adding test cases. This also makes enum values be treated as ints
when used in operations.
Diffstat (limited to 'scene')
0 files changed, 0 insertions, 0 deletions