Skip to content

Commit 7701033

Browse files
committed
isArrayLookup enabled
1 parent 9f0d3e6 commit 7701033

File tree

1 file changed

+2
-2
lines changed
  • plugins/org.eclipse.dltk.javascript.core/src/org/eclipse/dltk/internal/javascript/validation

1 file changed

+2
-2
lines changed

plugins/org.eclipse.dltk.javascript.core/src/org/eclipse/dltk/internal/javascript/validation/TypeInfoValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,9 +1240,9 @@ private boolean hasInstanceMethod(IRType type, String name) {
12401240
private static final boolean EXPERIMENTAL = false;
12411241

12421242
private boolean isArrayLookup(ASTNode expression) {
1243-
if (EXPERIMENTAL && expression instanceof GetArrayItemExpression)
1243+
if (expression instanceof GetArrayItemExpression)
12441244
return true;
1245-
if (EXPERIMENTAL && expression instanceof PropertyExpression) {
1245+
if (expression instanceof PropertyExpression) {
12461246
return isArrayLookup(((PropertyExpression) expression)
12471247
.getObject());
12481248
}

0 commit comments

Comments
 (0)