You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing expr.Function("dump", env.Dump, new(func(Env) any)) to expr.Function("dump", env.Dump, new(func(any) any)) will allow to compile the program and inspect the type of the arg.
The text was updated successfully, but these errors were encountered:
The following program incorrectly assumes that the type of
$env
ismap[string]any
, althoughargs[0]
holdsEnv
:Changing
expr.Function("dump", env.Dump, new(func(Env) any))
toexpr.Function("dump", env.Dump, new(func(any) any))
will allow to compile the program and inspect the type of the arg.The text was updated successfully, but these errors were encountered: