anchor.diff:          case UnlinkedExprOperation.pushParameter:
             String name = _uc.strings[stringPtr++];
             SimpleIdentifier identifier = AstTestFactory.identifier3(name);
  -          identifier.staticElement = parametersInScope[name];
  +          identifier.staticElement = variablesInScope[name];
             _push(identifier);
             break;
           case UnlinkedExprOperation.ifNull:
  
positive.code:     assert(popCount == 0);
      int functionIndex = _uc.ints[intPtr++];
      var localFunction = localFunctions[functionIndex];
      var parametersInScope =
          new Map<String, ParameterElement>.from(this.parametersInScope);
      var functionElement =
          new FunctionElementImpl.forSerialized(localFunction, context);
      for (ParameterElementImpl parameter in functionElement.parameters) {
        parametersInScope[parameter.name] = parameter;
        if (parameter.unlinkedParam.type == null) {
          // Store a type of `dynamic` for the parameter; this prevents
          // resynthesis from trying to read a type out of the summary (which
  
negative.code:     this._uc, {
      this.requireValidConst: true,
      this.localFunctions,
      _VariablesInScope variablesInScope,
      this.becomeSetOrMap: true,
    })  : this.variablesInScope = variablesInScope ?? _parametersInScope(context),
          this.isSpreadOrControlFlowEnabled = _isSpreadOrControlFlowEnabled(
              (resynthesizer.library.context.analysisOptions
                      as AnalysisOptionsImpl)
  