BoundsError
when joining AnnotatedStrings
with distinct label orderings
#54860
Labels
strings
"Strings!"
I think I've encountered a bug which occurs when joining
AnnotatedStrings
with annotations that have not been constructed in the same manner as StyledStrings, specifically with inconsistent ordering of annotation labels between strings.With simple annotations on two
AnnotatedString
instances,join
works as expected:However, if we attempt to
join
the above stringa
with an annotated string whose labels are inserted in a different order, it results in aBoundsError
:It appears that the
BoundsError
does not occur if the "joined" annotation is ordered first on both strings (:FOO
first for each)This may be related to #54561 as the stacktrace shows
join
being dispatched to StyledStrings.This bug is present on Julia 1.11.0-beta2, installed via juliaup
The text was updated successfully, but these errors were encountered: