Closed alexandear closed 1 month ago
This PR removes usage of starlark global variable options, see https://github.com/google/starlark-go/issues/435. Changes:
resolve.AllowNestedDef, resolve.AllowLambda, resolve.AllowFloat, resolve.AllowBitwise
starlark.ExecFileOptions
starlark.ExecFile
starlark.EvalOptions
starlark.Eval
starlark.EvalExprOptions
starlark.EvalExpr
This PR removes usage of starlark global variable options, see https://github.com/google/starlark-go/issues/435. Changes:
resolve.AllowNestedDef, resolve.AllowLambda, resolve.AllowFloat, resolve.AllowBitwise
because this obsolete flags has no effect.starlark.ExecFileOptions
instead of deprecatedstarlark.ExecFile
.starlark.EvalOptions
instead of deprecatedstarlark.Eval
.starlark.EvalExprOptions
instead of deprecatedstarlark.EvalExpr
.