Numbered Steps to Reproduce Problem: See code snippet
Code Snippet (if applicable) to Reproduce Problem:
0/null //0
0+null //0
(0+null)/null //Undefined operation: 0 / null
var/zero = 0/null //zero == 0
zero/null //Undefined operation: 0 / null
Expected Results:
The expression should be equal to 0.
Actual Results:
The expression causes a runtime error:
Undefined operation: 0 / null; proc name: dm eval (/proc/dm_eval); usr: (src); src: null; call stack:; dm eval(); world: New();
Does the problem occur:
Every time? Or how often? Every time.
In other games? N/A
In other user accounts? N/A
On other computers? Yes. Tested on two evaluators
When does the problem NOT occur? The problem always occurs.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds: Trivial to work around in a situation this may come up (check nulls, don't do this in the first place, etc)