File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ bvt boolbvt::convert_array_of(const array_of_exprt &expr)
18
18
DATA_INVARIANT (
19
19
expr.type ().id () == ID_array, " array_of expression shall have array type" );
20
20
21
- const array_typet &array_type= to_array_type ( expr.type () );
21
+ const array_typet &array_type = expr.type ();
22
22
23
23
if (is_unbounded_array (array_type))
24
24
return conversion_failed (expr);
Original file line number Diff line number Diff line change @@ -1590,6 +1590,16 @@ class array_of_exprt:public unary_exprt
1590
1590
{
1591
1591
}
1592
1592
1593
+ const array_typet &type () const
1594
+ {
1595
+ return static_cast <const array_typet &>(unary_exprt::type ());
1596
+ }
1597
+
1598
+ array_typet &type ()
1599
+ {
1600
+ return static_cast <array_typet &>(unary_exprt::type ());
1601
+ }
1602
+
1593
1603
exprt &what ()
1594
1604
{
1595
1605
return op0 ();
You can’t perform that action at this time.
0 commit comments