Var definitions can be suffixed with parentheses - this should presumably be considered a syntax error, but isn't. This is fairly minor, but a syntactically invalid program should produce a syntax error.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
var/test()
//attempting to assign a value directly causes a 'bad argument definition' error
var/test2() = 20
//however, new() can still be used in the case of lists (as can list())
var/list/testlist1() = new()
var/list/testlist2() = list()
Expected Results:
The code causes a syntax error.
Actual Results:
The code is parsed without error.
Does the problem occur:
Every time? Or how often?
Seems to be every time. Adding parameters causes a syntax error however.
In other games?
N/A
In other user accounts?
N/A
On other computers?
Presumably
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not Tested
Workarounds:
None.