Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix print_script for 1.10 Appearantly, at the time when @generated is evaluated, methods from other packages may not have been compiled yet, so `hasmethod(show, Tuple{IO, MIME{Symbol("text/javascript")}, value})` returns false, and the @generated function print_script throws an error. As the old version worked in 1.9.3, this appears to be the result of subtle changes in precompilation/initialization behavior somewhere between 1.9.3 and 1.10.0-beta2. * Add version discriminator for print_script(::IO, ::MIME,::Any) Keep the old behavior (via @generated) for versions <=1.9.x.
- Loading branch information
fdc6f52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/make.jl
seems to need a fix for Documenter 1.0. A quick fix would be to limit the documenter version, see #37