ID:1829625
 
BYOND Version:507
Operating System:Windows 7 Ultimate
Web Browser:Chrome 41.0.2272.101
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

Any variable named viewers won't work properly.

some_datum
var
list/viewers = list() //note the lack of warning
proc
AddViewer(Viewer)
viewers.Add(Viewer) //note the compiler error



Expected Results:

DM should warn about the namespace conflict.

Actual Results:

DM doesn't warn about the namespace conflict, merely giving an invalid expression error.
This is probably in the same vein as vars named block. Built-in function names tend to confuse the parser when they're used elsewhere.