Appending literals in string interpolation

I believe that “defining new interpolations” is exactly when you should call appendLiteral.

For example, see the recent proposal for default-value optional interpolation.

1 Like