Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interpolation edge case dropping annotations #101

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

tecosaur
Copy link
Collaborator

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.

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.
@tecosaur tecosaur merged commit 8985a37 into main Oct 22, 2024
5 checks passed
@tecosaur tecosaur deleted the fix-annot-edgecase branch October 22, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant