mob/Login()
var obj/o = new
o.vis_contents = new // Compiles
var list/l = list(o)
l[1]:vis_contents = new // Doesn't Compile, unknown variable type
ID:2685962
![]() May 24 2021, 11:08 pm
|
|
Ideally of course it'd be great if the : operator were able to narrow down a common type for any vars of the given name, which in most projects would mean it'd recognize vis_contents as a list and act appropriately. But boy is that difficult.