Skip to content

Commit 5ffd180

Browse files
committed
Fix: setindex call needs to be Base.setindex
1 parent 42b91ca commit 5ffd180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/styledmarkup.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,9 @@ function annotatedstring_optimize!(s::AnnotatedString)
846846
lregion, _ = s.annotations[prev]
847847
if last(lregion) + 1 == first(region)
848848
s.annotations[prev] =
849-
setindex(s.annotations[prev],
850-
first(lregion):last(region),
851-
1)
849+
Base.setindex(s.annotations[prev],
850+
first(lregion):last(region),
851+
1)
852852
deleteat!(s.annotations, i)
853853
else
854854
delete!(last_seen, keyval)

0 commit comments

Comments
 (0)