diff options
author | George Marques <george@gmarqu.es> | 2020-11-25 11:35:07 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2020-11-25 11:35:07 -0300 |
commit | fb3dc2670a7d086933d056096cefd26362951e93 (patch) | |
tree | bb1200355ed3e3b10c9d2a9e7aa933462d157db9 /modules/visual_script/visual_script_property_selector.cpp | |
parent | 60fd7bfe424d7e38b66c2e60e2bd15774421cd50 (diff) |
GDScript: Fix range() being treated as array when optimized out
The call of range() in a for loop is optimized to use int or vectors, to
avoid allocating an array, however the type was set as array still. With
the new typed VM this is an issue as the type mismatch the actual value,
resulting in wrong instructions to be selected.
Diffstat (limited to 'modules/visual_script/visual_script_property_selector.cpp')
0 files changed, 0 insertions, 0 deletions