Lines 91-99
Link Here
|
91 |
return constantPoolName; |
91 |
return constantPoolName; |
92 |
} |
92 |
} |
93 |
|
93 |
|
94 |
ArrayBinding createArrayType(int dimensionCount) { |
94 |
ArrayBinding createArrayType(int dimensionCount, LookupEnvironment lookupEnvironment) { |
95 |
if (localArrayBindings == null) { |
95 |
if (localArrayBindings == null) { |
96 |
localArrayBindings = new ArrayBinding[] {new ArrayBinding(this, dimensionCount, scope.environment())}; |
96 |
localArrayBindings = new ArrayBinding[] {new ArrayBinding(this, dimensionCount, lookupEnvironment)}; |
97 |
return localArrayBindings[0]; |
97 |
return localArrayBindings[0]; |
98 |
} |
98 |
} |
99 |
|
99 |
|
Lines 105-111
Link Here
|
105 |
|
105 |
|
106 |
// no matching array |
106 |
// no matching array |
107 |
System.arraycopy(localArrayBindings, 0, localArrayBindings = new ArrayBinding[length + 1], 0, length); |
107 |
System.arraycopy(localArrayBindings, 0, localArrayBindings = new ArrayBinding[length + 1], 0, length); |
108 |
return localArrayBindings[length] = new ArrayBinding(this, dimensionCount, scope.environment()); |
108 |
return localArrayBindings[length] = new ArrayBinding(this, dimensionCount, lookupEnvironment); |
109 |
} |
109 |
} |
110 |
|
110 |
|
111 |
/* |
111 |
/* |