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

use valid identifiers for sandbox module names #1540

Merged
merged 3 commits into from
Mar 2, 2021
Merged

Conversation

JeffBezanson
Copy link
Contributor

@JeffBezanson JeffBezanson commented Feb 27, 2021

This allows base julia to switch to var"" printing for invalid identifiers (JuliaLang/julia#39841) and still have Documenter work with multiple julia versions.

This allows base julia to switch to `var""` printing for invalid
identifiers and still have Documenter work with multiple julia
versions.
@mortenpi mortenpi added this to the 0.26.3 milestone Mar 1, 2021
Copy link
Member

@mortenpi mortenpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, technically, the gensym()d one is no longer guaranteed to be unique, since gensym() would just check for the existence of ##NNN but not __doctest__NNN? I don't think this will be an issue in practice though, since that's how the named ones work anyway.

Basically, LGTM, other than the two suggestions. We can get a patch release out as soon as this is merged to update Documenter in the Julia repo.

src/DocTests.jl Outdated Show resolved Hide resolved
src/DocTests.jl Outdated Show resolved Hide resolved
@mortenpi mortenpi merged commit 6d1232d into master Mar 2, 2021
@mortenpi mortenpi deleted the jb/sandboxnames branch March 2, 2021 00:12
mortenpi pushed a commit that referenced this pull request Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants