Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/19/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 1
See here: http://cfmlblog.adamcameron.me/2014/07/different-bugs-in-each-function-in-each.html
Detail:
// eachBug.cfm
iterateArgs = function(){
arguments.each(function(){
writeDump(var=arguments);
});
};
iterateArgs("tahi", "rua", "toru", "wha");
Outputs the arguments in a "random" order. It should be ordered. That's what ordered arguments mean... they have a sense of order.
I suspect you are just using the struct version of the each() function, rather than working out how the args have been passed (which is significant, here).
Railo gets this right, btw.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3791747
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: