Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 12/05/2013
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 2
G'day:
See my blog article here:
http://cfmlblog.adamcameron.me/2013/12/railo-supports-array-types.html
Railo supports this:
private any function acceptArrayOfSamples(required Sample[] samples){
return samples;
}
private Sample[] function returnArrayOfSamples(required array samples){
return samples;
}
Note that the argument / return types are Sample[]. It also supports this on inbuilt types too, eg: numeric[]. It also works on <cfparam>
It'd be good if ColdFusion did too. I've needed this in the past.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3680177
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: