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 #388. #424

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Conversation

MichaelHatherly
Copy link
Contributor

Replaces the IO argument with a Union{IOBuffer,IOContext} which
should be the only types that are actually reachable since the code
paths pass through sprint, which only uses either of those.

It's still not a perfect fix due to the type piracy, as noted in the
comments, but avoids the method overwrite warning at least.

Replaces the `IO` argument with a `Union{IOBuffer,IOContext}` which
should be the only types that are actually reachable since the code
paths pass through `sprint`, which only uses either of those.

It's still not a perfect fix due to the type piracy, as noted in the
comments, but avoids the method overwrite warning at least.
@pfitzseb pfitzseb merged commit ec3f464 into JunoLab:master Jun 1, 2021
@pfitzseb
Copy link
Member

pfitzseb commented Jun 1, 2021

Thanks!

@MichaelHatherly MichaelHatherly deleted the mh/latex-method-warning branch June 1, 2021 08:14
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