Added the tilde '~' operator acting as NOT

This commit is contained in:
2024-03-28 06:25:29 +01:00
parent 998580772a
commit 9fa3d9fcb2
3 changed files with 30 additions and 26 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func (self *term) source() string {
func (self *term) compute(ctx exprContext) (v any, err error) {
if self.evalFunc == nil {
err = fmt.Errorf("undfined eval-func for %v term type", self.kind)
err = fmt.Errorf("undefined eval-func for %v term type", self.kind)
} else {
v, err = self.evalFunc(ctx, self)
}