mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix is/as operators on vector values
This commit is contained in:
parent
4bd6da7186
commit
3a824a06ed
4 changed files with 24 additions and 2 deletions
|
@ -455,7 +455,7 @@ Val* UnaryExpr::Eval(Frame* f) const
|
|||
if ( ! v )
|
||||
return 0;
|
||||
|
||||
if ( is_vector(v) )
|
||||
if ( is_vector(v) && Tag() != EXPR_IS && Tag() != EXPR_CAST )
|
||||
{
|
||||
VectorVal* v_op = v->AsVectorVal();
|
||||
VectorType* out_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue