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));