summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir/check_full.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir/check_full.cpp b/src/mir/check_full.cpp
index b697e01f..52c0aaf5 100644
--- a/src/mir/check_full.cpp
+++ b/src/mir/check_full.cpp
@@ -754,6 +754,9 @@ void MIR_Validate_FullValState(::MIR::TypeResolve& mir_res, const ::MIR::Functio
TU_MATCHA( (blk.statements[i]), (se),
(Assign,
+ #if ENABLE_LEAK_DETECTOR
+ // TODO: Check if the target isn't valid. Allow if either invaid, or too complex to know.
+ #endif
TU_MATCHA( (se.src), (ve),
(Use,
state.move_lvalue(mir_res, ve);