tracker issue : CF-4119475

select a category, or use search below
(searches all categories and all time range)
Title:

There is no type for ordered structs

| View in Tracker

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:

Use the stabilisers! It doesn't have stabilisers! The blue switches! The blue ones don't do anything, they're just... blue! Yes they're blue: they're the blue stabilisers! See? Yeah? Well, it's boring now, isn't it? They're boring-ers! They're blue... boring-ers!
Vote by External U.
4631 | February 19, 2016 08:03:46 AM GMT
will not be supporting separate type for structOrdered. It's type will be supported as Struct(after upcoming update). To specifically check for ordered struct, information will be provided in metadata.
Comment by Milan C.
4630 | May 02, 2016 09:59:55 AM GMT