anchor.diff:  
     // Emit a do-while-loop.
     bool emitDoWhile(int depth) {
  -    int i = localVars.length;
  +    final int i = localVars.length;
       emitLn('{ int $localName$i = 0;');
       indent += 2;
       emitLn('do {');
  
positive.code:         return emitScope(depth);
        case 12:
          return emitTryCatch(depth);
        default:
          return emitAssign();
      }
  
negative.code:       }
      } else {
        // Inside a class: try to call backwards in class methods first.
        final int m1 = currentMethod == null
            ? classMethods[currentClass].length
            : currentMethod;
        final int m2 = globalMethods.length;
        if (pickedCall(depth, tp, '$methodName${currentClass}_',
                classMethods[currentClass], m1) ||
            pickedCall(depth, tp, methodName, globalMethods, m2)) {
  