Skip to content

Commit 1468aa0

Browse files
Fix strings.reverse member overload name (#1045)
1 parent 32a6867 commit 1468aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/strings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ func (lib *stringLib) CompileOptions() []cel.EnvOption {
520520
if lib.version >= 3 {
521521
opts = append(opts,
522522
cel.Function("reverse",
523-
cel.MemberOverload("reverse", []*cel.Type{cel.StringType}, cel.StringType,
523+
cel.MemberOverload("string_reverse", []*cel.Type{cel.StringType}, cel.StringType,
524524
cel.UnaryBinding(func(str ref.Val) ref.Val {
525525
s := str.(types.String)
526526
return stringOrError(reverse(string(s)))

0 commit comments

Comments
 (0)