Status/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 02/18/2016
Components: Language
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Major / Most users will encounter
Locale/System: ALL / Platforms All
Vote Count: 1
See http://blog.adamcameron.me/2016/02/coldfusion-2016-slipshoddiness-from.html
Basically none of this works as one would expect:
ordered = [=];
try {
param StructOrdered ordered;
}
catch (any e){
writeDump([
type=e.type,
message=e.message
]);
}
StructOrdered function f(StructOrdered st){
return st;
}
try {
result = f(ordered);
}
catch (any e){
writeDump([
type=e.type,
message=e.message
]);
}
Expectation:
That one can specify a type of structOrdered for params and function args / returns, and anywhere else one might expect to use such things.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4119475
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: