mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
Print (filtered) warnings in the repl again
This commit is contained in:
parent
9854dceec8
commit
167e8a40de
@ -561,8 +561,7 @@ fn format_output(
|
||||
) -> String {
|
||||
let mut buf = String::new();
|
||||
|
||||
// Only print errors; discard warnings.
|
||||
for message in problems.errors.iter() {
|
||||
for message in problems.errors.iter().chain(problems.warnings.iter()) {
|
||||
if !buf.is_empty() {
|
||||
buf.push_str("\n\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user