@@ -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
+ prop.message . error () << equality.pretty () << messaget::eom;
52
52
DATA_INVARIANT (
53
53
false ,
54
54
" record_array_equality got equality without matching types" );
@@ -117,7 +117,7 @@ void arrayst::collect_arrays(const exprt &a)
117
117
// check types
118
118
if (!base_type_eq (array_type, with_expr.old ().type (), ns))
119
119
{
120
- prop.error () << a.pretty () << messaget::eom;
120
+ prop.message . error () << a.pretty () << messaget::eom;
121
121
DATA_INVARIANT (false , " collect_arrays got 'with' without matching types" );
122
122
}
123
123
@@ -135,7 +135,7 @@ void arrayst::collect_arrays(const exprt &a)
135
135
// check types
136
136
if (!base_type_eq (array_type, update_expr.old ().type (), ns))
137
137
{
138
- prop.error () << a.pretty () << messaget::eom;
138
+ prop.message . error () << a.pretty () << messaget::eom;
139
139
DATA_INVARIANT (
140
140
false ,
141
141
" collect_arrays got 'update' without matching types" );
@@ -157,14 +157,14 @@ void arrayst::collect_arrays(const exprt &a)
157
157
// check types
158
158
if (!base_type_eq (array_type, if_expr.true_case ().type (), ns))
159
159
{
160
- prop.error () << a.pretty () << messaget::eom;
160
+ prop.message . error () << a.pretty () << messaget::eom;
161
161
DATA_INVARIANT (false , " collect_arrays got if without matching types" );
162
162
}
163
163
164
164
// check types
165
165
if (!base_type_eq (array_type, if_expr.false_case ().type (), ns))
166
166
{
167
- prop.error () << a.pretty () << messaget::eom;
167
+ prop.message . error () << a.pretty () << messaget::eom;
168
168
DATA_INVARIANT (false , " collect_arrays got if without matching types" );
169
169
}
170
170
@@ -518,7 +518,7 @@ void arrayst::add_array_constraints_with(
518
518
519
519
if (index_expr.type ()!=value.type ())
520
520
{
521
- prop.error () << expr.pretty () << messaget::eom;
521
+ prop.message . error () << expr.pretty () << messaget::eom;
522
522
DATA_INVARIANT (
523
523
false ,
524
524
" with-expression operand should match array element type" );
@@ -588,7 +588,7 @@ void arrayst::add_array_constraints_update(
588
588
589
589
if(index_expr.type()!=value.type())
590
590
{
591
- prop.error() << expr.pretty() << messaget::eom;
591
+ prop.message. error() << expr.pretty() << messaget::eom;
592
592
DATA_INVARIANT(
593
593
false,
594
594
"update operand should match array element type");
0 commit comments