Title:
[ANeff] Bug for: ArrayNew[dataType](1) syntax won't be used and should be removed
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 04/26/2018
Components: Language, Functions
Versions: 2018
Failure Type: Others
Found In Build/Fixed In Build: 2018.0.01.308605 /
Priority/Frequency: Normal /
Locale/System: / Platforms All
Vote Count: 1
Issue: ArrayNew[dataType](1) syntax won't be used and should be removed
CF2018 is adding 3 syntax for creating typed array:
1) ["string"][](
2) ArrayNew(dataType="string") (to support Named Arguments ArgumentCollection)
3) ArrayNew["string"](1)
#1 is useful/short and #2 is necessary, there is no need to introduce an entirely new BIFName[brackets](parentheses) syntax into CFML.
Users will type shorter ["string"][], not longer ArrayNew["string"](1).
Suggestion: ArrayNew["string"](1) should be removed.
Related thread: [https://forums.adobeprerelease.com/coldfusionpr/discussion/130/syntax-for-typed-arrays]
Attachments:
Comments: