Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 03/09/2016
Components: Language
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 0
I’m just after clarification of this code:
sorted = structNew("sorted", function(key1,key2){
writeDump(arguments);
abort;
});
sorted.first = 2;
Note I’m aborting in the callback loop. I’d expect key1 and key2 to be strings, however they are instances of coldfusion.util.Key. Why’s that? Everywhere else in CFML a struct’s keys are just strings.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126739
External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:
Attachments:
Comments: