-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Move eachregion(::AnnotatedString)
implementation to Base
#57912
Conversation
Re-organizing these definitions - no changes to the code.
eachregion(::AnnotatedString)
implementation to Base
bafdc1b
to
c1522a3
Compare
c1522a3
to
637128e
Compare
Base needs this functionality so that it can iterate its own `AnnotatedString`s.
637128e
to
50f0bd0
Compare
Is this PR supposed to prevent any invalidations? I can't find such an example. I tried things like this, but the result is the same on nightly and with this PR: using StyledStrings: StyledStrings
using SnoopCompileCore: @snoop_invalidations
raw_invalidations = @snoop_invalidations begin
using CSV: CSV
end |
Not directly - I added the label because it's part of a longer-term plan to resolve the type piracy in StyledStrings, which should remove many invalidations |
I'm going to merge this, since it is unambiguously type-piracy for this to be defined outside of Base. There are still decisions to make w.r.t. solving the rest of the StyledStrings type piracy, but those can be tackled in separate PR's |
Cool, as you say this is an early building block and a very straightforward change 👍. |
Excising part of #56194 on the way to reviving that PR.