diff --git a/nac3core/src/typecheck/function_check.rs b/nac3core/src/typecheck/function_check.rs index 7ed0735..f1e7280 100644 --- a/nac3core/src/typecheck/function_check.rs +++ b/nac3core/src/typecheck/function_check.rs @@ -312,7 +312,7 @@ impl<'a> Inferencer<'a> { let mut ret = false; for stmt in block { if ret { - println!("warning: dead code at {:?}\n", stmt.location) + eprintln!("warning: dead code at {:?}\n", stmt.location) } if self.check_stmt(stmt, defined_identifiers)? { ret = true;