summaryrefslogtreecommitdiff
path: root/scene/resources/packed_scene.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2022-02-02 13:57:24 -0300
committerGeorge Marques <george@gmarqu.es>2022-02-03 13:32:34 -0300
commitceafdf347e5ecc050629fd4eac93030dabb0d0e9 (patch)
treeaee0a540ef38b6815561697312fad720912b17d6 /scene/resources/packed_scene.h
parentb013c0d544e784392020aa693fd248fa52f450c2 (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/resources/packed_scene.h')
0 files changed, 0 insertions, 0 deletions