View Issue Details

IDProjectCategoryView StatusLast Update
0026239RunnerVariablesPublic2017-08-04 15:08
ReporterStewart BishopAssigned ToFritz 
PriorityHighSeverityB - MajorReproducibility100%
Status ClosedResolutionFixed 
Product Version 
Target VersionFixed in Version 
Summary0026239: Variables: ds_map keys might get overwritten, hash collisions suspected
DescriptionGiven the snippet:

var _test = ds_map_create();
_test[? "MAHATMA"] = 0;
_test[? "TAX"] = 1;

The expected output would be: '{ "MAHATMA" : 0.000000, "TAX": 1.000000 }' or similar.
The actual output is: '{ "TAX": 1.000000 }'
As if TAX entry has overwritten MAHATMA entry.
Steps To Reproduce1) Create a project
2) Create an object
3) Add the above code to the objects create event
4) Add object to room
5) Run it
6) See the output
1.4 Found In
2.x Runtime Found In9.9.1.525
2.x Runtime Verified In9.9.1.670


Stewart Bishop

2017-04-18 16:21


DSMapBug.yyz (17,153 bytes)