• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code 2.3 bug: nested DS_MAP accessors break

Status
Not open for further replies.

DukeSoft

Member
Apparantly I'm supposed to open a thread on the forums about 2.3 bugs, so here goes:

Code:
var list = ds_map_create();
list[? "index_1"] = "datalist_handle";

var datalist = ds_map_create();
datalist[? "datalist_handle"] = 1234;

show_debug_message(datalist[? list[? "index_1"]]);
Expected output: 1234
Given output:
Code:
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object obj_bug:

unable to convert string "datalist_handle" to int64
 at gml_Object_obj_bug_Create_0 (line 7) - show_debug_message(datalist[? list[? "index_1"]]);
############################################################################################
gml_Object_obj_bug_Create_0 (line 7)
Works on < 2.3

Also: I can not even upload .yyz files
 
Status
Not open for further replies.
Top