for(k, v in list) does not run when the list supplied has no associative values.
According to the ref, v should be null if supplied a non-associative list.
Code Snippet (if applicable) to Reproduce Problem:
var/list/l = list("hi", "there")
world.log << "No vals:"
for(var/k, v in l)
world.log << "[k] : [v]"
world.log << "\nVals:"
l["hi"] = 1
for(var/k, v in l)
world.log << "[k] : [v]"
Expected Results:
No vals:
hi :
there :
Vals:
hi : 1
there :
Actual Results:
No vals:
Vals:
hi : 1
there :