mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Print (filtered) warnings in the repl again
This commit is contained in:
parent
9854dceec8
commit
167e8a40de
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue