diff --git a/shared/static/scripts/sx.js b/shared/static/scripts/sx.js index d756540..f3c1bd6 100644 --- a/shared/static/scripts/sx.js +++ b/shared/static/scripts/sx.js @@ -418,9 +418,6 @@ if (name === "true") return true; if (name === "false") return false; if (name === "nil") return NIL; - // Debug: log env keys to help diagnose - var envKeys = Object.keys(env).filter(function(k) { return typeof env[k] !== "function"; }).slice(0, 20); - console.error("Undefined symbol: " + name + " | env keys (non-fn): " + envKeys.join(", ")); throw new Error("Undefined symbol: " + name); } diff --git a/shared/sx/async_eval.py b/shared/sx/async_eval.py index 891f353..ee8f4a8 100644 --- a/shared/sx/async_eval.py +++ b/shared/sx/async_eval.py @@ -1102,7 +1102,7 @@ async def _aser_component( while i < len(args): arg = args[i] if isinstance(arg, Keyword) and i + 1 < len(args): - kwargs[arg.name] = await async_eval(args[i + 1], env, ctx) + kwargs[arg.name] = await _aser(args[i + 1], env, ctx) i += 2 else: children.append(arg)