@@ -48,7 +48,7 @@ literalt arrayst::record_array_equality(
48
48
// check types
49
49
if (!base_type_eq (op0.type (), op1.type (), ns))
50
50
{
51
- prop. error () << equality.pretty () << messaget::eom;
51
+ error () << equality.pretty () << messaget::eom;
52
52
DATA_INVARIANT (
53
53
false ,
54
54
" record_array_equality got equality without matching types" );
@@ -116,7 +116,7 @@ void arrayst::collect_arrays(const exprt &a)
116
116
// check types
117
117
if (!base_type_eq (array_type, with_expr.old ().type (), ns))
118
118
{
119
- prop. error () << a.pretty () << messaget::eom;
119
+ error () << a.pretty () << messaget::eom;
120
120
DATA_INVARIANT (false , " collect_arrays got 'with' without matching types" );
121
121
}
122
122
@@ -134,7 +134,7 @@ void arrayst::collect_arrays(const exprt &a)
134
134
// check types
135
135
if (!base_type_eq (array_type, update_expr.old ().type (), ns))
136
136
{
137
- prop. error () << a.pretty () << messaget::eom;
137
+ error () << a.pretty () << messaget::eom;
138
138
DATA_INVARIANT (
139
139
false ,
140
140
" collect_arrays got 'update' without matching types" );
@@ -156,14 +156,14 @@ void arrayst::collect_arrays(const exprt &a)
156
156
// check types
157
157
if (!base_type_eq (array_type, if_expr.true_case ().type (), ns))
158
158
{
159
- prop. error () << a.pretty () << messaget::eom;
159
+ error () << a.pretty () << messaget::eom;
160
160
DATA_INVARIANT (false , " collect_arrays got if without matching types" );
161
161
}
162
162
163
163
// check types
164
164
if (!base_type_eq (array_type, if_expr.false_case ().type (), ns))
165
165
{
166
- prop. error () << a.pretty () << messaget::eom;
166
+ error () << a.pretty () << messaget::eom;
167
167
DATA_INVARIANT (false , " collect_arrays got if without matching types" );
168
168
}
169
169
@@ -511,7 +511,7 @@ void arrayst::add_array_constraints_with(
511
511
512
512
if (index_expr.type ()!=value.type ())
513
513
{
514
- prop. error () << expr.pretty () << messaget::eom;
514
+ error () << expr.pretty () << messaget::eom;
515
515
DATA_INVARIANT (
516
516
false ,
517
517
" with-expression operand should match array element type" );
@@ -580,7 +580,7 @@ void arrayst::add_array_constraints_update(
580
580
581
581
if(index_expr.type()!=value.type())
582
582
{
583
- prop.error() << expr.pretty() << messaget::eom;
583
+ prop.message. error() << expr.pretty() << messaget::eom;
584
584
DATA_INVARIANT(
585
585
false,
586
586
"update operand should match array element type");
0 commit comments