From f8fb00c33a2fbea82ca30fca84c6c9090a9955d8 Mon Sep 17 00:00:00 2001 From: Matthew Nibecker Date: Fri, 18 Sep 2026 11:23:42 -0700 Subject: [PATCH] dotexpr.hasNone: return true iff None length is greater than 0 --- runtime/vam/expr/dot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/vam/expr/dot.go b/runtime/vam/expr/dot.go index 876643c8f..bc2a26c51 100644 --- a/runtime/vam/expr/dot.go +++ b/runtime/vam/expr/dot.go @@ -123,7 +123,7 @@ func (d *DotExpr) eval(outerVecs ...vector.Any) vector.Any { func hasNone(vec vector.Any) bool { switch vec := vec.(type) { case *vector.None: - return true + return vec.Len() > 0 case *vector.Union: return super.IsOptionType(vec.Type()) && hasNone(vec.Dynamic()) case *vector.Fusion: