Commit 8985a37
committed
Fix interpolation edge case dropping annotations
It is possible to have types with annotations that should be preserved
other than AnnotatedString (such as SubString{AnnotatedString}), and so
we should consult with Base._isannotated instead of just checking if the
type is an AnnotatedString specifically.1 parent 729f56c commit 8985a37
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments