diff --git a/evaldo/builtins.go b/evaldo/builtins.go index d1e8fa14..cefe133d 100644 --- a/evaldo/builtins.go +++ b/evaldo/builtins.go @@ -200,6 +200,8 @@ func getFrom(ps *env.ProgramState, data any, key any, posMode bool) env.Object { return v1 case *env.List: return v1 + case env.Native: + return v1 case nil: ps.FailureFlag = true return env.NewError("missing key")