Open lgoettgens opened 4 weeks ago
https://github.com/JuliaLang/julia/pull/54499 approached to fix https://github.com/JuliaLang/julia/issues/52986 (to no longer return nothing without REPL). But as @ztangent and @KristofferC discussed in https://github.com/JuliaLang/julia/issues/52986#issuecomment-2134170341, the returned object is still different, making tests like https://github.com/probcomp/Gen.jl/issues/523 and https://github.com/Nemocas/AbstractAlgebra.jl/pull/1716 fail.
nothing
IMO, an okay solution would be to add some repr (or similar) method for Base.Doc.DocStr, so that at least string(@doc x) is consistent between 1.10 and 1.11+.
repr
Base.Doc.DocStr
string(@doc x)
Bump. I still see it as quite a drastic change between 1.10 and 1.11 @KristofferC @JeffBezanson
https://github.com/JuliaLang/julia/pull/54499 approached to fix https://github.com/JuliaLang/julia/issues/52986 (to no longer return
nothing
without REPL). But as @ztangent and @KristofferC discussed in https://github.com/JuliaLang/julia/issues/52986#issuecomment-2134170341, the returned object is still different, making tests like https://github.com/probcomp/Gen.jl/issues/523 and https://github.com/Nemocas/AbstractAlgebra.jl/pull/1716 fail.IMO, an okay solution would be to add some
repr
(or similar) method forBase.Doc.DocStr
, so that at leaststring(@doc x)
is consistent between 1.10 and 1.11+.