summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2021-04-02 10:34:44 -0300
committerGeorge Marques <george@gmarqu.es>2021-04-05 09:52:05 -0300
commit35682d30795498632c0406011e6c56f97a73f1d6 (patch)
tree7f74e1142780a7e2dee089083215c95c9c518dbb /editor
parent655a913e2273b41037df80ae00c11bed9f98d9a9 (diff)
GDScript: Properly validate return type
When the type cannot be validated at compile time, the runtime must do a check to ensure type safety is kept, as the code might be assuming the return type is correct in another place, leading to crashes if the contract is broken.
Diffstat (limited to 'editor')
0 files changed, 0 insertions, 0 deletions