Skip to content

Commit d062c45

Browse files
author
Daniel Kroening
committed
array_list_exprt is multi-ary
1 parent 0d34125 commit d062c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/std_expr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,11 +1682,11 @@ template<> inline bool can_cast_expr<array_exprt>(const exprt &base)
16821682

16831683
/// Array constructor from a list of index-element pairs
16841684
/// Operands are index/value pairs, alternating.
1685-
class array_list_exprt : public exprt
1685+
class array_list_exprt : public multi_ary_exprt
16861686
{
16871687
public:
16881688
explicit array_list_exprt(const array_typet &_type)
1689-
: exprt(ID_array_list, _type)
1689+
: multi_ary_exprt(ID_array_list, _type)
16901690
{
16911691
}
16921692
};

0 commit comments

Comments
 (0)