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(
116
116
from_integer (0 , index_type ()),
117
117
parameter_type);
118
118
}
119
+ // clang-format on
119
120
else
120
121
{
121
122
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 ();
125
127
throw unsupported_operation_exceptiont (error.str ());
126
128
}
127
- // clang-format on
128
129
}
129
130
130
131
assignment_typet assignment_type;
You can’t perform that action at this time.
0 commit comments