Status/Resolution/Reason: To Fix//HaveNewInfo
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/12/2016
Components: Language
Versions: 2016
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 2
4126544 "Object Literal Syntax for Ordered/Sorted Structs" is marked "Fixed", but there is no literal syntax for sorted structs.
This ticket is to cover literal syntax for sorted structs.
Please read: http://blog.adamcameron.me/2016/05/cfml-yes-shut-up-sorted-struct-literal.html
Current ideas from that post and comments:
1) sortedStruct = [key=value, key=value, struct|callback]
2) sortedStruct = [key=value, key=value](struct|callback)
3) sortedStruct = {[key=value, key=value], struct|callback}
4) sortedStruct = {[key=value, key=value, struct|callback]}
5) sortedStruct = [key=value, key=value] @ struct|callback
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4152476
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: