tooling: breaking off my tooling changes in the big batch PR so they can be used (#850)

This commit is contained in:
Tyler Wilding
2021-09-19 21:45:14 -04:00
committed by GitHub
parent 8caf398ac0
commit df92a55749
5 changed files with 128 additions and 29 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ void ObjectFileDB::ir2_insert_lets(int seg) {
combined_stats += insert_lets(func, func.ir2.env, *func.ir2.form_pool, func.ir2.top_form);
} catch (const std::exception& e) {
func.warnings.general_warning(
fmt::format("Error while inserting lets: {}\n Make sure that the return type is not "
fmt::format("Error while inserting lets: {}. Make sure that the return type is not "
"none if something is actually returned.",
e.what()));
}