You can define a proc (without its body) under a /var statement, which will get past BOTH update AND compile. However, the map editor isn't fooled as easily, and it will crash if the name is defined under var:
Numbered Steps to Reproduce Problem:
create a variable add parenthesis and (optionally) an argument list; it'll compile as if you defined a proc even though this should be invalid.
Code Snippet (if applicable) to Reproduce Problem:
turf
var
New() This compiles.
Del() // This compiles.
Billy() // This Compiles.
Mandy(mob/M) // This compiles too!
Expected Results:
Compiler throws an error, as a variable shouldn't be defined as a proc.
Actual Results:
Compiles and updates fine. (However, maps will reject any objects that have any variables defined as if they were a proc; if you select such an object while editing the map, Dream Maker will crash)0
Does the problem occur:
Every time? Or how often? yes
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? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds: