ID:2173445
 
BYOND Version:511.1363
Operating System:Linux
Web Browser:Chrome 53.0.2785.116
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary: initial(A.foo) does not runtime if the runtime type (ie the type of the *value*, not the variable) does not have a `foo` variable.

Numbered Steps to Reproduce Problem: Run code below.

Code Snippet (if applicable) to Reproduce Problem:
/datum/one
var/one = 1

/world/New()
var/datum/one/O = /datum // /datum does not have a "one" var
world.log << "O.one: [json_encode(initial(O.one))]" // O.one: null


Expected Results: Runtime at initial(O.one); undefined variable /datum/var/one

Actual Results: initial(O.one) returns null

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? N/A

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Unknown

Workarounds: None