-71e161daafa1e19c2c53e28fffc3954d88a4cdb2
+3b6252d2d3ce559826303dac07538da6e78940d8
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
first = false;
else
exp->write_c_string(", ");
- exp->write_name(p->name());
+ // The hash for a function type ignores parameter names, so
+ // we don't want to write them out here. If we did write
+ // them out, we could get spurious changes in export data
+ // when recompiling a package.
+ exp->write_name("");
exp->write_c_string(" ");
if (!is_varargs || p + 1 != this->parameters_->end())
exp->write_type(p->type());
first = false;
else
exp->write_c_string(", ");
- exp->write_name(p->name());
+ exp->write_name("");
exp->write_c_string(" ");
exp->write_type(p->type());
}