Sometimes, overloaded operators will decide to find an error and spit out an error. This doesn't appear to have any rhyme or reason, and will clear up on the next compile. This can take five compiles, it can take ten, it can take twenty.
error: operator+=: undefined var
Numbered Steps to Reproduce Problem:
1. Compile until overloaded operator fails to compile with the undefined var error.
Code Snippet (if applicable) to Reproduce Problem:
datumtest
proc
operator+=()
world << "random code to satisfy the gods"
Expected Results:
Compiles 100% of the time with 0 errors.
Actual Results:
Occasionally decides to error and throw an error: operator+=: undefined var. Compiling again makes the error magically vanish until it randomly occurs again on a later compile.
When does the problem occur:
Sometimes. Maybe one in every fifteen to twenty compiles?
When does the problem NOT occur?
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.)
514.1589
Workarounds: