diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-18 13:09:06 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-19 16:00:19 +0200 |
commit | 85641c545bedbdb703ad923306786afe5c312110 (patch) | |
tree | 9cc9ece896d3678261fa81755a39cff36d67efa4 /core/engine.cpp | |
parent | 33e1716f1370b129af37ed93bbf7a6736ad43808 (diff) |
Be type-strict checking on equality checks
After a short discussion with @reduz and @karroffel we decided to make
all non number/number comparisons return type errors on comparisons.
Now bool == bool is allowed but Vector2 == Vector3 is a type error and
no longer 'not equal'. The same has been done for the != operators.
In addition I forgot to add some failures to some Object operators
meaning that there was a potential for a crasher.
Diffstat (limited to 'core/engine.cpp')
0 files changed, 0 insertions, 0 deletions