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

honor --errorMax even for tools (eg nim doc etc) #14546

Merged
merged 1 commit into from Jun 2, 2020

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Jun 2, 2020

when errors happen, they can snowball and subsequent ones are often caused by 1st error, which was one of the motivations for --errorMax.
This PR makes nim doc and other tools honor --errorMax when that flag is provided.
This helps when investigating issues like #14545 where logs (which i saved here https://gist.github.com/timotheecour/651249370f686efe05462f9dbf342d59) were showing 1400 errors.

after this PR it only shows just a few (the relevant ones) which are the ones shown in #14545

CI failure caused by the usual suspects:

* fix a bug that prevented nim doc compiler/nim on windows
@Araq Araq merged commit 4301a3d into nim-lang:devel Jun 2, 2020
@timotheecour timotheecour deleted the pr_honor_errorMax_tools branch June 3, 2020 00:56
FedericoCeratto pushed a commit to FedericoCeratto/Nim that referenced this pull request Jun 4, 2020
* fix a bug that prevented nim doc compiler/nim on windows
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.

None yet

2 participants