anchor.diff:      return ParsedArguments._(rest.toList()..addAll(newArgs.rest),
           isWorker: isWorker,
           isBatch: isBatch,
  -        isKernel: isKernel,
           reuseResult: reuseResult || newArgs.reuseResult,
           useIncrementalCompiler:
               useIncrementalCompiler || newArgs.useIncrementalCompiler);
  
positive.code:         'previousResult requires --batch or --bazel_worker mode/');
    }
  
    // TODO(38777) Cleanup when we delete all the DDC code.
    if (!args.isKernel) {
      throw ArgumentError(
          'Compiling with analyzer based DDC is no longer supported.');
    }
  
    return kernel_compiler.compile(args.rest,
        compilerState: previousResult?.kernelState,
        isWorker: args.isWorker,
  
negative.code:   /// See also [isBatchOrWorker].
    final bool isWorker;
  
    /// Whether to re-use the last compiler result when in a worker.
    ///
    /// This is useful if we are repeatedly compiling things in the same context,
  