Skip to content

Conversation

@uklotzde
Copy link
Contributor

@uklotzde uklotzde commented Feb 12, 2023

This is the follow-up for #137 to avoid unexpected/undefined behavior at runtime.

Finally, the typestate pattern is in place. Separation into 2 traits was the missing link.

@uklotzde uklotzde changed the title v0.12.0: Split SplitAndMergeTag into SplitTag/MergeTag for compile-time safety v0.12.0: Separate SplitAndMergeTag into SplitTag/MergeTag for compile-time safety Feb 12, 2023
@uklotzde
Copy link
Contributor Author

Finished. Only marked as Draft because it is based on #137 which has not been merged yet and might still change.

Merging this PR instead of #137 would also be an option.

@uklotzde uklotzde marked this pull request as ready for review February 20, 2023 01:24
@Serial-ATA
Copy link
Owner

This looks good after a rebase. Thanks!

Pevent any unexpected or undefined behavior at runtime by applying the
typestate pattern.
@uklotzde
Copy link
Contributor Author

Rebased.

@Serial-ATA Serial-ATA merged commit 6754809 into Serial-ATA:main Feb 28, 2023
@uklotzde uklotzde deleted the multi-value-typestate branch February 28, 2023 16:29
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