Title:
Bug 85101:(Watson Migration Closure)The following line of code fails:<cfset array = evaluate("[]") />I would expect it to set array to a new/empty array
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/LowImpact
Reporter/Name(from Bugbase): Todd Sharp / Todd Sharp (cfsilence)
Created: 11/18/2010
Components: Language, Functions
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 3
Problem:
The following line of code fails:<cfset array = evaluate("[]") />I would expect it to set array to a new/empty array. Implicit structs also fail.For what it's worth, this works on the latest build of Railo per a blog post that I just read.
Method:
<cfset array = evaluate("[]") />
<cfset array = evaluate("{}") >
Result:
evaluate() can not evaluate implicit struct/arrays
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042808
External Customer Info:
External Company:
External Customer Name: Todd Sharp
External Customer Email: 7A924EE2445A4FDB992015D5
External Test Config: 11/18/2010
Attachments:
Comments: