Skip to content

Commit

Permalink
Fixed implementation for block expression visit function.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 26, 2024
1 parent 9edfc1e commit 4b42a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/expression/BlockExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DynamicObject BlockExpression::visit(SymbolTable& symbols) {
}
catch(const TerminativeReturnSignal& rs) {
table.waitForThreads();
return std::move(rs.getObject());
return rs.getObject();
}

table.waitForThreads();
Expand Down

0 comments on commit 4b42a64

Please sign in to comment.