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

Better duplicate docs warning #16641

Merged
merged 1 commit into from
Jun 4, 2016

Conversation

MichaelHatherly
Copy link
Member

During bootstrap STDERR is undefined and so duplicate docs warnings would throw a misleading error message instead of the proper warning.

Found in #16633 (comment) by @nalimilan.

During bootstrap `STDERR` is undefined and so duplicate docs warnings
would throw a misleading error message instead of the proper warning.
@MichaelHatherly MichaelHatherly added the docsystem The documentation building system label May 29, 2016
@nalimilan
Copy link
Member

Thanks, but I wonder whether we could find a more general mechanism to make warn work during bootstrap. Could we use your workaround as a definition for warn during bootstrap, and only replace it with the final one at the very end of the build?

@MichaelHatherly
Copy link
Member Author

Yeah, I did wonder whether it was worthwhile trying to generalize this. If people think it would be then I can look into doing that.

@MichaelHatherly
Copy link
Member Author

I'll merge this later tonight, unless there's any other interest at the moment in making it more general.

@MichaelHatherly MichaelHatherly merged commit f02bda8 into JuliaLang:master Jun 4, 2016
@MichaelHatherly MichaelHatherly deleted the mh/doc-warn branch June 4, 2016 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants