src/com/google/javascript/jscomp/TypeCheck.java
/**
   * Visits a GETELEM node.
   *
   * @param t The node traversal object that supplies context, such as the
   * scope chain to use in name lookups as well as error reporting.
   * @param n The node being visited.
   */
Visits a GETELEM node.
@param t The node traversal object that supplies context, such as the
scope chain to use in name lookups as well as error reporting.
@param n The node being visited.
Visits a GETELEM node . @param t The node traversal object that supplies context such as the scope chain to use in name lookups as well as error reporting . @param n The node being visited .
private void visitGetElem(NodeTraversal t, Node n) {
    validator.expectIndexMatch(
        t, n, getJSType(n.getFirstChild()), getJSType(n.getLastChild()));
    ensureTyped(n);
  }
private void visitGetElem ( NodeTraversal t , Node n ) { validator . expectIndexMatch ( t , n , getJSType ( n . getFirstChild ( ) ) , getJSType ( n . getLastChild ( ) ) ) ; ensureTyped ( n ) ; }
Visits a GETELEM node.
Visits a GETELEM node .