Closed Bug 273745 Opened 20 years ago Closed 20 years ago

Large array initialisation fails silently

Categories

(Rhino Graveyard :: Compiler, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 225831

People

(Reporter: mguillemot, Assigned: igor)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

With code like

var tab = [{index: 0, name: "foo0"},
{index: 1, name: "foo1"},
{index: 2, name: "foo2"},
{index: 3, name: "foo3"},
...
{index: n, name: "foon"}];

every works fine for small values of n, but tab is undefined (seems to work
until n=255 and fails after).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
See also bug 228446

*** This bug has been marked as a duplicate of 225831 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → 1.5R5
You need to log in before you can comment on or make changes to this bug.