We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acdb0e0 commit 3747400Copy full SHA for 3747400
src/goto-instrument/replace_calls.cpp
@@ -161,8 +161,7 @@ void replace_callst::check_replacement_map(
161
auto it1 = goto_functions.function_map.find(p.first);
162
if(it1 != goto_functions.function_map.end())
163
{
164
- if(!base_type_eq(
165
- ns.lookup(it1->first).type, ns.lookup(it2->first).type, ns))
+ if(ns.lookup(it1->first).type != ns.lookup(it2->first).type)
166
throw invalid_command_line_argument_exceptiont(
167
"functions " + id2string(p.first) + " and " + id2string(p.second) +
168
" are not type-compatible",
0 commit comments