Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Value ASTInterpreter::visit_invoke(AST_Invoke* node) {
Value v;
try {
v = visit_stmt(node->stmt);
next_block = node->normal_dest;
} catch (ExcInfo e) {
if (e.incremental_traceback) {
auto source = getCF()->clfunc->source.get();
static_cast<BoxedTraceback*>(e.traceback)->addLine(new LineInfo(node->lineno, node->col_offset, source->fn, source->getName()));
next_block = node->exc_dest;
last_exception = e;
return v;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.