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 4e75e321..203f878e 100644
--- a/src/hir/expr.hpp
+++ b/src/hir/expr.hpp
@@ -675,6 +675,8 @@ struct ExprNode_Closure:
// - Lists captured variables to be stored in autogenerated struct
::std::vector<unsigned int> m_var_captures;
+ // - Path to the generated closure type
+ ::HIR::GenericPath m_obj_path;
ExprNode_Closure(Span sp, args_t args, ::HIR::TypeRef rv, ::HIR::ExprNodeP code):
ExprNode(mv$(sp)),