ID:1992328
 
BYOND Version:509
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 42.0
Applies to:Dream Maker
Status: Deferred

This issue may be low priority or very difficult to fix, and has been put on the back burner for the time being.
Descriptive Problem Summary:
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:

Wtf xD
Lummox JR changed status to 'Deferred'
I forgot to ask when this was deferred, but... why was this deferred? Wouldn't it be as simple as not allowing parenthesis to be present in a variable definition?
No. The axial deframbulator is a difficult beast and I'm not sure where this would be handled.
In response to Lummox JR
Lummox JR wrote:
axial deframbulator