From 076adeef80194dd8803f13e91969a26535cd095d Mon Sep 17 00:00:00 2001 From: James Shubin Date: Mon, 22 Jul 2019 06:07:16 -0400 Subject: [PATCH] lang: funcs: Fix a copypasta error with the not equals operator Woops, sorry! --- lang/funcs/operator_polyfunc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/funcs/operator_polyfunc.go b/lang/funcs/operator_polyfunc.go index 3003e170..02545f19 100644 --- a/lang/funcs/operator_polyfunc.go +++ b/lang/funcs/operator_polyfunc.go @@ -181,7 +181,7 @@ func init() { T: types.NewType("func(a str, b str) bool"), V: func(input []types.Value) (types.Value, error) { return &types.BoolValue{ - V: input[0].Str() == input[1].Str(), + V: input[0].Str() != input[1].Str(), }, nil }, })