Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/14/2016
Components: Language, Functions
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Minor / Few users will encounter
Locale/System: English / Win XP All
Vote Count: 0
Filing as bug b/c a parameter should always accept its default value.
Thus, the following should run but throws an exception:
<cfscript>
condition = false;
type = condition ? "ordered" : "unordered";
s = structNew(type);
</cfscript>
Basically, it should always be possible to set a parameter's value conditionally.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4153049
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: