Skip to content

Commit

Permalink
make variable usable
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Jun 4, 2024
1 parent 34d6e14 commit ba886d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ namespace xeus_wren
}

void interpreter::execute_request_impl(send_reply_callback cb,
int /*execution_counter*/,
const std::string& /*code*/,
int execution_counter,
const std::string& code,
xeus::execute_request_config /*config*/,
nl::json /*user_expressions*/)
nl::json user_expressions)
{
nl::json kernel_res;
kernel_res["payload"] = nl::json::array();
kernel_res["user_expressions"] = nl::json::object();
kernel_res["user_expressions"] =user_expressions;

std::stringstream codestream;
codestream << "{var closure = Meta.compileExpression(\"" << code << "\")}";
Expand Down

0 comments on commit ba886d2

Please sign in to comment.