anchor.diff:          ? member.enclosingClass.typeParameters
           : member.function!.typeParameters;
       for (int i = 0; i < typeParameters.length; i++) {
  -      typeLocals[typeParameters[i]] = paramLocals[typeParameterOffset + i];
  +      typeLocals[typeParameters[i]] = paramLocals[parameterOffset + i];
       }
   
       // For all parameters whose Wasm type has been forced to `externref` due to
  
positive.code: 
    void generateBody(Member member) {
      ParameterInfo paramInfo = translator.paramInfoFor(reference);
      bool hasThis = member.isInstanceMember || member is Constructor;
      int typeParameterOffset = hasThis ? 1 : 0;
      int implicitParams = typeParameterOffset + paramInfo.typeParamCount;
      List<VariableDeclaration> positional =
          member.function!.positionalParameters;
      for (int i = 0; i < positional.length; i++) {
  
negative.code:   ///
    /// The stub function unwraps the arguments from the struct and calls the
    /// inner function, containing the implementation of the async function.
    void generateAsyncWrapper(
        FunctionNode functionNode, w.BaseFunction inner, int parameterOffset) {
      w.DefinedFunction stub =
          m.addFunction(translator.functions.asyncStubFunctionType);
      w.BaseFunction asyncHelper =
  