View Issue Details

IDProjectCategoryView StatusLast Update
0031274RunnerFunctionsPublic2019-08-19 09:33
ReporterYellowAfterlifeAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
PlatformWindowsOSWindows 10 ProOS Version>=18362
Product Version 
Target VersionFixed in Version 
Summary0031274: Functions: ds_list_mark_* functions don't error on marking non-index entries, but cause errors later
Description
var l = ds_list_create();
ds_list_add(l, "hi");
ds_list_add(l, "hello");
ds_list_mark_as_map(l, 0);
ds_list_mark_as_list(l, 1);
ds_list_mark_as_map(l, 2);
ds_list_mark_as_list(l, 2);
ds_list_mark_as_map(l, -1);
ds_list_mark_as_list(l, -1);
show_debug_message("OK!");


Output:
OK!


But then, upon closing the game:
ERROR!!! :: ############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object <undefined>:


unable to convert string "hi" to integer
############################################################################################
Tagsfunctions
1.4 Found In
2.x Runtime Found In9.9.1.1528
2.x Runtime Verified In

Activities

YellowAfterlife

2019-08-19 06:46

Developer  

ds_list_mark_crash.yyz (19,311 bytes)