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

feat(patterns): support As/Is annotations like Is[int] and As[int] #28

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

kszucs
Copy link
Owner

@kszucs kszucs commented Sep 10, 2024

  • feat(patterns): error context for match failures
  • feat(patterns): support As/Is annotations like Is[int] and As[int]

The coercion system is also stricter now disallowing lossy coercions
to str/int/float/bool.
Copy link
Owner Author

@kszucs kszucs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kszucs kszucs merged commit 2a846fe into main Sep 10, 2024
24 checks passed
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