code: private static void maybeMarkBadProtoAccess(ExprNode expr, SoyValue value) {
      if (value instanceof SoyProtoValue) {
        ((SoyProtoValue) value).setAccessLocationKey(expr.getSourceLocation());
      }
    }
docs: If the value is a proto, then set the current access location since we are about to access it
  incorrectly.