ID:1952511
 
BYOND Version:508
Operating System:Linux
Web Browser:Chrome 45.0.2454.101
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: repeated use of the 'var' keyword (or any var modifier) in a single definition does not cause errors

Numbered Steps to Reproduce Problem: use a modifier several times in one declaration

Code Snippet (if applicable) to Reproduce Problem:
client
var/const/static/var/var/global/var/var/foo = 2
var/const/const/const/const/const/const/bar = 4
var/static/const/global/static/global/baz = 3
New()
..()
foo = 3 // foo is *not* const (or global)


Expected Results: repeated 'var' or modifiers would cause errors, above code would not compile

Actual Results: repeated modifiers do not cause errors; repeated 'var' keywords override all previous modifiers (i.e. `var/const/var/x` is not const),
loading foo.dme
saving foo.dmb
foo.dmb - 0 errors, 0 warnings (10/1/15 11:24 pm)


Does the problem occur:
Every time? Or how often? Every time
In other games? Irrelevant
In other user accounts? Unknown
On other computers? Unknown

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? I don't recall a time when this wasn't the case

Workarounds: Don't use multiple 'var' or modifiers?

mmm try using ";" after each of those vars and see if that does anything
Lummox JR changed status to 'Deferred'