We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8558e89 commit 150cf46Copy full SHA for 150cf46
src/goto-programs/goto_model.h
@@ -111,7 +111,13 @@ class goto_modelt : public abstract_goto_modelt
111
if(!base_type_eq(
112
it->second.type, symbol_table.lookup_ref(it->first).type, ns))
113
{
114
- msg.error() << "error" << messaget::eom;
+ msg.error() << id2string(it->first) << " type inconsistency\n"
115
+ << "goto program type: " << it->second.type.id_string()
116
+ << "\nsymbol table type: "
117
+ << symbol_table.lookup_ref(it->first).type.id_string()
118
+ << messaget::eom;
119
+
120
+ msg.error() << "" << messaget::eom;
121
found_violation = true;
122
}
123
0 commit comments