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 the position of "Grey" in colors.nim #22358

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

MichalMarsalek
Copy link
Contributor

#19274 Introduced the "grey" color but it was placed at a wrong alphabetical position, making it not findable by the binary search in the parsing function. This fixes it.

@Varriount
Copy link
Contributor

Can you create a unit test which checks that those data structures are sorted?

@Araq
Copy link
Member

Araq commented Aug 1, 2023

Unit test can be done in a follow up PR. Please backport @narimiran to the 2.0 line.

@Araq Araq merged commit da36888 into nim-lang:devel Aug 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2023

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

Hint: mm: orc; opt: speed; options: -d:release
168408 lines; 10.372s; 613.035MiB peakmem

narimiran pushed a commit that referenced this pull request Aug 11, 2023
Update the position of "Grey"

(cherry picked from commit da36888)
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.

3 participants