anchor.diff:        }
         parts.condition?.accept(this);
       } else if (parts is ForEachParts) {
  +      if (parts is ForEachPartsWithDeclaration) {
  +        _flowAnalysis.add(parts.loopVariable.declaredElement, assigned: true);
  +      }
         parts.iterable.accept(this);
       }
   
  
positive.code:         }
        }
      } finally {
        _flowAnalysis = null;
        _currentFunctionType = null;
        _postDominatedLocals.popScope();
  
negative.code:     for (var variable in node.variables) {
        variable.metadata.accept(this);
        var initializer = variable.initializer;
        _flowAnalysis.add(variable.declaredElement,
            assigned: initializer != null);
        if (initializer != null) {
          var destinationType = getOrComputeElementType(variable.declaredElement);
          if (typeAnnotation == null) {
  