I’m not sure if I’m even doing this right, but for some reason this doesn’t work:
Text text1 = Texts.of("hi");
text.builder().append(Texts.of(", you!");
text1
stays “hi”
I also can’t use Texts.join(text1, Texts.of(", you!"));
because there are 2 similar overloads for this special case:
Texts.join(Text seperator, Text...texts)
Texts.join(Text...texts)
This works:
text1 = Texts.of(text1.builder.append(Texts.of(", you!")));
But shouldn’t the above also work?