tracker issue : CF-3041761

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 83541:(Watson Migration Closure)arrayNew() - can the dimension argument default to 1?99

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Mike Causer / Mike Causer (mike causer)

Created: 07/12/2010

Components: Language, Datastructure

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 4

Problem:

arrayNew() - can the dimension argument default to 1?99.9% of the time i find myself creating single dimension arrays.more in line with structNew(), queryNew() etc
Method:

myVariable = arrayNew(1);
Result:

arrayNew() - can the dimension argument default to 1?

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041761

External Customer Info:
External Company:  
External Customer Name: Mike Causer
External Customer Email: 5E3754C04462CDFF992016B6
External Test Config: 07/12/2010

Attachments:

Comments:

This bug has been voted..
Vote by External U.
21777 | November 11, 2011 12:48:46 AM GMT
+1, esp since [] does the same
Vote by External U.
21778 | November 11, 2011 12:48:47 AM GMT
This bug has been voted..
Vote by External U.
21779 | November 11, 2011 12:48:48 AM GMT
As it doesn't actually do anything anyhow, how about just get rid? There is no difference between what's returned by arrayNew(1) and arrayNew(3). -- Adam
Vote by External U.
21780 | August 16, 2012 02:40:29 PM GMT