From 198f93c5333a36f4f032f3ab8b07fc6ee74a0184 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 14 May 2019 01:57:31 -0700 Subject: [PATCH] Make non-interactive code work again --- schala-repl/src/lib.rs | 14 +++++++++++--- schala-repl/src/repl/mod.rs | 1 - 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/schala-repl/src/lib.rs b/schala-repl/src/lib.rs index 32d5ee6..5b7b7ce 100644 --- a/schala-repl/src/lib.rs +++ b/schala-repl/src/lib.rs @@ -56,7 +56,7 @@ fn run_noninteractive(filename: &str, languages: Vec println!("{}", s), + Err(s) => println!("{}", s) + }; } diff --git a/schala-repl/src/repl/mod.rs b/schala-repl/src/repl/mod.rs index 6a7b7f7..ecf2c8e 100644 --- a/schala-repl/src/repl/mod.rs +++ b/schala-repl/src/repl/mod.rs @@ -1,5 +1,4 @@ use std::fmt::Write as FmtWrite; -use std::io::Write; use std::sync::Arc; use std::collections::HashSet;