File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -116,15 +116,16 @@ void goto_symext::parameter_assignments(
116116 from_integer (0 , index_type ()),
117117 parameter_type);
118118 }
119+ // clang-format on
119120 else
120121 {
121122 std::ostringstream error;
122- error << " function call: parameter \" " << identifier
123- << " \" type mismatch: got " << rhs.type ().pretty ()
124- << " , expected " << parameter_type.pretty ();
123+ error << state.source .pc ->source_location .as_string () << " : "
124+ << " function call: parameter \" " << identifier
125+ << " \" type mismatch:\n got " << rhs.type ().pretty ()
126+ << " \n expected " << parameter_type.pretty ();
125127 throw unsupported_operation_exceptiont (error.str ());
126128 }
127- // clang-format on
128129 }
129130
130131 assignment_typet assignment_type;
You can’t perform that action at this time.
0 commit comments