We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f06cde + ef509a5 commit aa7b89fCopy full SHA for aa7b89f
src/util/rename_symbol.cpp
@@ -170,7 +170,7 @@ bool rename_symbolt::rename(typet &dest) const
170
}
171
172
173
- else if(dest.id()==ID_symbol)
+ else if(dest.id() == ID_symbol_type)
174
{
175
type_mapt::const_iterator it=
176
type_map.find(to_symbol_type(dest).get_identifier());
@@ -253,7 +253,7 @@ bool rename_symbolt::have_to_rename(const typet &dest) const
253
return true;
254
255
256
257
258
const irep_idt &identifier = to_symbol_type(dest).get_identifier();
259
return type_map.find(identifier) != type_map.end();
0 commit comments