From 7075b6f73fb338c8cc478667d35330048aa439a9 Mon Sep 17 00:00:00 2001 From: sofia Date: Tue, 15 Jul 2025 23:18:01 +0300 Subject: [PATCH] Update order of prints --- reid/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reid/src/lib.rs b/reid/src/lib.rs index 1e0c2e3..e103677 100644 --- a/reid/src/lib.rs +++ b/reid/src/lib.rs @@ -124,10 +124,12 @@ pub fn perform_all_passes(context: &mut mir::Context) -> Result<(), ReidError> { let state = context.pass(&mut TypeInference { refs: &refs }); + #[cfg(debug_assertions)] + dbg!(&refs); #[cfg(debug_assertions)] println!("{}", &context); #[cfg(debug_assertions)] - dbg!(&state, &refs); + dbg!(&state); if !state.errors.is_empty() { return Err(ReidError::TypeInferenceErrors(state.errors));