anchor.diff:    void leaveArray(ArrayEntity entity) {
       arrayDepth--;
       if (arrayDepth > 0 && objectDepth == 0) {
  -      addError(entity);
  +      _addError(entity);
       }
     }
   
  
positive.code:   void leaveObject(ObjectEntity entity) {
      objectDepth--;
      if (arrayDepth == 0 && objectDepth == 0) {
        addError(entity);
      }
    }
  
  
negative.code:       if (_isValidPattern(entity.text)) {
          return;
        }
        _addError(entity);
      }
    }
  
    void _addError(JsonEntity entity) {
      errorCollector.addMessage(
          ErrorIds.INVALID_SOCKET_HOST_PATTERN,
          entity.span,
  