You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is weird that things like join on base types give different results depending on if an stdlib has been (transitively) loaded.
The rendering of StyledStrings should probably move to Base to fix this.
The text was updated successfully, but these errors were encountered:
I'm coming around thinking that maybe pulling the plug completely on the StyledString stuff in stdlibs is the best way forward. Huge issues when it comes to the design (split between stdlibs and Base) and latency regressions that have been left unchecked for a year. Enough is starting to be enough.
The split is a pain, and makes trying to solve the invalidations a bit of a challenge. I'd very much like to solve this, but I have yet to come up with a clean idea for doing so with the split as it currently is.
With that said, aside from pulling the plug I would very much like to explore whether there's any scope to adjust the base/stdlib split in such a way that we maintain the current functionality but resolve the invalidation issues (with more or less in Base), and/or see if some of the idea's I've been chatting with Cody on-and-off have the potential to make a meaningful dent in invalidations/latency.
This is a reduction of a test in
test/strings/annotated.jl
that avoids loading StyledStrings (which now gets loaded when loading Test.jl):Running this fails with:
However, if we add
using StyledStrings
to the top, the assert does not fire.
The reason for this is type piracy in StyledStrings: JuliaLang/StyledStrings.jl#61.
It is weird that things like
join
on base types give different results depending on if an stdlib has been (transitively) loaded.The rendering of StyledStrings should probably move to Base to fix this.
The text was updated successfully, but these errors were encountered: