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 @@ -1616,6 +1616,16 @@ class array_of_exprt:public unary_exprt
1616
1616
{
1617
1617
}
1618
1618
1619
+ const array_typet &type () const
1620
+ {
1621
+ return static_cast <const array_typet &>(unary_exprt::type ());
1622
+ }
1623
+
1624
+ array_typet &type ()
1625
+ {
1626
+ return static_cast <array_typet &>(unary_exprt::type ());
1627
+ }
1628
+
1619
1629
exprt &what ()
1620
1630
{
1621
1631
return op0 ();
You can’t perform that action at this time.
0 commit comments