Lists vars/procs accessed through conditional operators are bunked
Numbered Steps to Reproduce Problem:
Try code snippet below
Code Snippet (if applicable) to Reproduce Problem:
/datum/foo
var/list/xyzzy = new
/datum/foo/proc/bar()
xyzzy?.len = 0
xyzzy?.Cut()
// also the below two when given args
// xyzzy?.Find(baz)
// xyzz?.Remove(baz)
Expected Results:
not broken
Actual Results:
delme.dm:65:error: .len: undefined var
Does the problem occur:
Every time? Or how often? y
In other games? y
In other user accounts? unk
On other computers? unk
When does the problem NOT occur?
earlier versions
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.)
yes, last version
Workarounds:
nope