summaryrefslogtreecommitdiff
path: root/src/hir/expr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/expr.hpp')
-rw-r--r--src/hir/expr.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/expr.hpp b/src/hir/expr.hpp
index 47669c3a..eb85bd3d 100644
--- a/src/hir/expr.hpp
+++ b/src/hir/expr.hpp
@@ -655,12 +655,14 @@ struct ExprNode_Closure:
enum class Class {
Unknown,
+ NoCapture,
Shared,
Mut,
Once,
} m_class = Class::Unknown;
bool m_is_move = false;
+ // - Lists captured variables to be stored in autogenerated struct
::std::vector<unsigned int> m_var_captures;
ExprNode_Closure(Span sp, args_t args, ::HIR::TypeRef rv, ::HIR::ExprNodeP code):