@@ -1003,7 +1003,7 @@
{
const Named_object* in_function = this->type_value()->in_function();
if (in_function != NULL)
- decl_name += '$' + in_function->name();
+ decl_name += '$' + Gogo::unpack_hidden_name(in_function->name());
}
return get_identifier_from_string(decl_name);
}
@@ -1748,7 +1748,7 @@
base_name = name->name();
const Named_object* in_function = name->in_function();
if (in_function != NULL)
- base_name += '$' + in_function->name();
+ base_name += '$' + Gogo::unpack_hidden_name(in_function->name());
}
std::string hash_name = base_name + "$hash";
std::string equal_name = base_name + "$equal";