diff options
author | John Hodge <tpg@mutabah.net> | 2019-10-26 10:48:15 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2019-10-26 10:48:15 +0800 |
commit | ce8e9305c8a462a2cee40a7d4918f5c3814e6b01 (patch) | |
tree | c6c771b0de7899cc991cec9d38925cf34ac466bf /src/hir/expr.hpp | |
parent | 64e60f872d04053b43afb7b7eb164c3ffd6dbcfb (diff) | |
download | mrust-ce8e9305c8a462a2cee40a7d4918f5c3814e6b01.tar.gz |
Expand HIR Closures - Avoid mutating module contents during iteration
Diffstat (limited to 'src/hir/expr.hpp')
-rw-r--r-- | src/hir/expr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/expr.hpp b/src/hir/expr.hpp index 3e13c43d..2ca960e3 100644 --- a/src/hir/expr.hpp +++ b/src/hir/expr.hpp @@ -800,6 +800,7 @@ struct ExprNode_Closure: bool m_is_copy = false; // - Path to the generated closure type + const ::HIR::Struct* m_obj_ptr = nullptr; ::HIR::GenericPath m_obj_path_base; ::HIR::GenericPath m_obj_path; ::std::vector< ::HIR::ExprNodeP> m_captures; |