fixed bug where appending an empty vector to a vector-of-vector's had no effect

This commit is contained in:
Vern Paxson 2024-03-02 14:17:03 -08:00 committed by Arne Welzel
parent 8b214862c5
commit 54877e9dec
6 changed files with 53 additions and 7 deletions

View file

@ -713,6 +713,8 @@ public:
AddToExpr(ExprPtr op1, ExprPtr op2);
ValPtr Eval(Frame* f) const override;
bool IsVectorElemAppend() const { return is_vector_elem_append; }
// Optimization-related:
bool IsPure() const override { return false; }
ExprPtr Duplicate() override;