context.go: setVar() renamed as UnsafeSetVar()
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ func exportVar(ctx ExprContext, name string, value any) {
|
||||
if name[0] == '@' {
|
||||
name = name[1:]
|
||||
}
|
||||
ctx.setVar(name, value)
|
||||
ctx.UnsafeSetVar(name, value)
|
||||
}
|
||||
|
||||
func exportFunc(ctx ExprContext, name string, info ExprFunc) {
|
||||
|
||||
Reference in New Issue
Block a user