Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use ErrorColor for hints marked as errors #23430

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

igor-sirotin
Copy link
Contributor

Description

When using --hintAsError, we want some red color to appear in the logs.
Same is already done for warningAsError.

Cherry-picking to Nim 1.6

Would be nice to cherry-pick this and the warningAsError log highlight to 1.6 branch, as it's used in status-desktop.

@Araq Araq merged commit 50c1e93 into nim-lang:devel Mar 21, 2024
19 checks passed
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 50c1e93

Hint: mm: orc; opt: speed; options: -d:release
178487 lines; 8.116s; 753.082MiB peakmem

@igor-sirotin igor-sirotin deleted the fix/as-error-color branch March 21, 2024 12:14
narimiran pushed a commit that referenced this pull request Apr 22, 2024
# Description

When using `--hintAsError`, we want some red color to appear in the
logs.
Same is already done for `warningAsError`.

# Cherry-picking to Nim 1.6

Would be nice to cherry-pick this and the `warningAsError` log highlight
to 1.6 branch, as it's used in status-desktop.

(cherry picked from commit 50c1e93)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants