ID:2337709
 
BYOND Version:512.1403
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 64.0.3282.85
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Attempting to read a datum var from a list returns null rather than runtime.


Numbered Steps to Reproduce Problem:
Push button, receive facepalm

Code Snippet (if applicable) to Reproduce Problem:
/datum/listvartest
var/blah123 = 4

/client/verb/testlistdatumaccess()
var/datum/listvartest/test = list()
world << "[test.blah123](\ref[test.blah123])"
world << "Oh what the fuck"


Expected Results:
Runtime error: Could not read /list/blah123

Actual Results:
([0x0])
Oh what the fuck



Technically it would be invalid behavior to have a list in a var typed as a datum, but it's the kind of invalid behavior that should be runtiming.

This is very likely a minor overlook with the operator chaining with list accesses, hopefully it's not hard to make that behavior only apply when actually accessing a list item, and not the list itselfs.