Accessing the vars list for some not supported types causes a crash instead of runtime error, while it correctly causes a runtime error for other not supported types. In previous versions it caused a runtime error that was able to be caught in a try/catch block.
Numbered Steps to Reproduce Problem:
1. Try to access datum.type:vars
2. Crash
Code Snippet (if applicable) to Reproduce Problem:
mob/verb
CrashMe()
var/v = usr.type:vars
RuntimeMe() // expected result
var/str = "Hello"
var/v = str:vars
Expected Results:
To throw a runtime error.
Actual Results:
Crashes the server.
Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Yes
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.)
Version 514.1589 works as expected.
Workarounds:
Don't do what I'm doing.