goalc: some minor fixes for tests

This commit is contained in:
Tyler Wilding
2022-05-01 17:45:01 -04:00
parent 6976221c31
commit f7c30a4084
5 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -105,8 +105,7 @@ int main(int argc, char** argv) {
auto resp = repl_server.get_msg();
if (resp) {
std::lock_guard<std::mutex> lock(compiler_mutex);
std::string copy = resp.value();
status = compiler->handle_repl_string(copy);
status = compiler->handle_repl_string(resp.value());
// Print out the prompt, just for better UX
compiler->print_to_repl(compiler->get_prompt());
}