show expr on error

This commit is contained in:
Ben Burdette 2021-10-22 13:41:04 -06:00
parent 427fb8d158
commit 383ab600ee

View file

@ -110,6 +110,10 @@ ref<EvalState> EvalCommand::getEvalState()
printStaticEnvBindings(expr); printStaticEnvBindings(expr);
std::cout << "expr: " << std::endl;
expr.show(std::cout);
std::cout << std::endl;
// printEnvPosChain(env); // printEnvPosChain(env);
// printEnvBindings(env); // printEnvBindings(env);
if (expr.staticenv) if (expr.staticenv)