diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-18 22:03:32 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-18 22:03:32 +0800 |
commit | 273bdd41d46ce0558877af7fa10bc665b92721d5 (patch) | |
tree | 77dcb52f1b3e1a4a2537e9ec13a5940ceb6dc427 /src/parse | |
parent | 9ceef3de36f310e45913a5fcc60696609ea0a31f (diff) | |
download | mrust-273bdd41d46ce0558877af7fa10bc665b92721d5.tar.gz |
HIR - Move closures
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/expr.cpp b/src/parse/expr.cpp index d6bed032..c71d2b4a 100644 --- a/src/parse/expr.cpp +++ b/src/parse/expr.cpp @@ -1037,7 +1037,7 @@ ExprNodeP Parse_ExprVal_Closure(TokenStream& lex, bool is_move) auto code = Parse_Expr0(lex);
- return NEWNODE( AST::ExprNode_Closure, ::std::move(args), ::std::move(rt), ::std::move(code) );
+ return NEWNODE( AST::ExprNode_Closure, ::std::move(args), ::std::move(rt), ::std::move(code), is_move );
}
ExprNodeP Parse_ExprVal(TokenStream& lex)
|