mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Expr: Remove vector scalar operations
These seem to have been deprecated since 2018, so do it now. Unfortunately the message didn't contain a version when it'll be removed, but it's been long enough.
This commit is contained in:
parent
12d5dca70f
commit
5ef62b2de8
12 changed files with 112 additions and 282 deletions
|
@ -624,14 +624,6 @@ protected:
|
|||
|
||||
void ExprDescribe(ODesc* d) const override;
|
||||
|
||||
// Reports on if this BinaryExpr involves a scalar and aggregate
|
||||
// type (vec, list, table, record).
|
||||
bool IsScalarAggregateOp() const;
|
||||
|
||||
// Warns about deprecated scalar vector operations like
|
||||
// `[1, 2, 3] == 1` or `["a", "b", "c"] + "a"`.
|
||||
void CheckScalarAggOp() const;
|
||||
|
||||
// For assignment operations (=, +=, -=) checks for a valid
|
||||
// expression-list on the RHS (op2), potentially transforming
|
||||
// op2 in the process. Returns true if the list is present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue