YoYoGames/GameMaker-HTML5

Empty structs added to structs in debug mode (Chrome)

Gizmo199 opened this issue · 1 comments

var struct = {
	foo : { this : 1 },
	bar : { this : 2 }
}

var names = variable_struct_get_names(struct);
for ( var i=0; i<array_length(names); i++ ){
	show_debug_message(names[i]);
}

Running this code in debug mode will produce empty struct references in the main struct.

issue

Unable to replicate with 2024.600.0.580 runtime... I suspect that this has been fixed in an earlier commit