Skip to content

For 5.0.0: ContextReference: Mark as #[non_exhaustive]#416

Merged
trishume merged 1 commit into
trishume:masterfrom
Enselic:mark-ContextReference-non_exhaustive
Jan 16, 2022
Merged

For 5.0.0: ContextReference: Mark as #[non_exhaustive]#416
trishume merged 1 commit into
trishume:masterfrom
Enselic:mark-ContextReference-non_exhaustive

Conversation

@Enselic

@Enselic Enselic commented Jan 7, 2022

Copy link
Copy Markdown
Collaborator

Here is an adventurous PR.

This is so that we can add variants and variant fields without semver breakage. This
will likely be needed to fall back to "Plain Text" if embeds are missing. See
prototype code at Enselic#6 and discussion at sharkdp/bat#915 (comment). It would be nice to be able to fix that without requiring a major bump in syntect, and this PR should make that possible, with some luck.

If this gets merged for 5.0.0 I will add a CHANGELOG.md entry for it in #409 later (same with my other PRs)

So that we can add variants and variant fields without semver breakage. This
will likely be needed to fall back to "Plain Text" if embeds are missing. See
prototype code at #6
@Enselic Enselic force-pushed the mark-ContextReference-non_exhaustive branch from be69802 to fc13bdf Compare January 7, 2022 16:50
@trishume trishume merged commit aca8fa0 into trishume:master Jan 16, 2022
@Enselic Enselic deleted the mark-ContextReference-non_exhaustive branch February 23, 2022 06:12
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.

2 participants