Returning .. instead of ..() in an overridden proc crashes DreamDaemon.
Numbered Steps to Reproduce Problem:
1. Make a proc.
2. Override it.
3. Return .. instead of ..()
Code Snippet (if applicable) to Reproduce Problem:
world
fps = 25
/datum/thing/proc/foo()
world << "foo"
return "foo"
/datum/thing/other/foo()
world << "otherfoo"
return ..
/client/verb/call_foo()
var/datum/thing/T = new
var/datum/thing/other/O = new
usr << "Calling datum/thing"
T.foo()
usr << "Calling datum/thing/other"
O.foo()
Expected Results:
Project to fail compile or runtime.
Actual Results:
Project compiles and DreamDaemon crashes when return .. is encountered.
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.
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.)
Tried both 511.1385 and 510.1347, both crashed.