anchor.diff:  
     }
   
  -  getIndex(rect) {
  +  getIndex(Rectangle rect) {
   
       //  default is that rect doesn't fit, i.e. it straddles the internal quadrants
  -    var index = -1;
  +    int index = -1;
   
       if (rect.x < this.bounds.right && rect.right < this.bounds.right) {
         if (rect.y < this.bounds.bottom && rect.bottom < this.bounds.bottom) {
  
positive.code:     var i = this.nodes.length;
  
      while (i-- > 0) {
        if(this.nodes[i] != null){
          this.nodes[i].clear();
          this.nodes[i]=null;
        }
      }
  
  
negative.code: 
    }
  
  
    clear() {
  
      this.objects.clear();
  