diff options
Diffstat (limited to 'src/mir/check.cpp')
-rw-r--r-- | src/mir/check.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mir/check.cpp b/src/mir/check.cpp index 7c8fbd13..4dbdb45f 100644 --- a/src/mir/check.cpp +++ b/src/mir/check.cpp @@ -457,6 +457,8 @@ void MIR_Validate_ValState(::MIR::TypeResolve& state, const ::MIR::Function& fcn // Mark destination as valid val_state.mark_validity( state, stmt.as_Assign().dst, true ); break; + case ::MIR::Statement::TAG_ScopeEnd: + break; } } @@ -852,6 +854,8 @@ void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path case ::MIR::Statement::TAG_Drop: // TODO: Anything need checking here? break; + case ::MIR::Statement::TAG_ScopeEnd: + break; } } |