ID:111292
 
BYOND Version:480
Operating System:Windows XP Pro
Web Browser:Firefox 4.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:
when you give something a variable that has the same name as the type of another variable and they are right below each other you will get an error.


Numbered Steps to Reproduce Problem:
Description + Code


Code Snippet (if applicable) to Reproduce Problem:
Map
parent_type = /obj

mob
var
Map = 0
Map/ThisMap

New()
..()
Map = 1


Expected Results:
No Errors.


Actual Results:
Error

Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? N/A
On other computers? Probably...

When does the problem NOT occur?
when the variables aren't defined under the same variable (node/parent whatever you want to call it)


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 sure


Workarounds:
By moving the variable under another variable note/parent thingy...


Something like this should fix it.
Map
parent_type = /obj

mob/var/Map/ThisMap

mob
var
Map = 0

New()
..()
Map = 1

For future reference, please specify what the actual error message is. Details are important when posting bug reports.
This sucker is pretty ugly under the hood. Considering it's easily avoided, it's not a priority at this time.