Skip to content

Commit ba6f9dd

Browse files
committed
Update StyledStrings to use invalidation barrier
1 parent 097c45d commit ba6f9dd

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
lines changed

base/strings/annotated_io.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ using ..Base: eachregion, invoke_in_world, tls_world_age
211211

212212
# Write
213213

214-
ansi_write(f::Function, io::IO, x::Any) = f(io, x)
214+
ansi_write(f::Function, io::IO, x::Any) = invoke(f, Tuple{typeof(io), supertype(typeof(x))}, io, x)
215215

216216
ansi_write_(f::Function, io::IO, @nospecialize(x::Any)) =
217217
invoke_in_world(tls_world_age(), ansi_write, f, io, x)
@@ -264,7 +264,6 @@ show_annot(io::IO, ::MIME, ::Any) = nothing
264264
show_annot_(io::IO, @nospecialize(x::Any)) =
265265
invoke_in_world(tls_world_age(), show_annot, io, x)::Nothing
266266

267-
268267
show_annot_(io::IO, m::MIME, @nospecialize(x::Any)) =
269268
invoke_in_world(tls_world_age(), show_annot, io, m, x)::Nothing
270269

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1cb6007a66d3f74cbe5b27ee449aa9c8
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1fa95646fdf4cc7ea282bd355fded9464e7572792912942ea1c45f6ed126eead2333fdeed92e7db3efbcd6c3a171a04e5c9562dab2685bb39947136284ae1da3

deps/checksums/StyledStrings-8985a37ac054c37d084a03ad2837208244824877.tar.gz/md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

deps/checksums/StyledStrings-8985a37ac054c37d084a03ad2837208244824877.tar.gz/sha512

Lines changed: 0 additions & 1 deletion
This file was deleted.

stdlib/StyledStrings.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
STYLEDSTRINGS_BRANCH = main
2-
STYLEDSTRINGS_SHA1 = 8985a37ac054c37d084a03ad2837208244824877
2+
STYLEDSTRINGS_SHA1 = 3fe829fcf611b5fefaefb64df7e61f2ae82db117
33
STYLEDSTRINGS_GIT_URL := https://github.com/JuliaLang/StyledStrings.jl.git
44
STYLEDSTRINGS_TAR_URL = https://api.github.com/repos/JuliaLang/StyledStrings.jl/tarball/$1

0 commit comments

Comments
 (0)