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

Ensure completeness of matchers #10

Open
BenWeber42 opened this issue Jun 17, 2020 · 0 comments
Open

Ensure completeness of matchers #10

BenWeber42 opened this issue Jun 17, 2020 · 0 comments
Labels
bug Something isn't working med-prio Medium priority issue/task small Requires little effort/time

Comments

@BenWeber42
Copy link
Contributor

If a matcher (e.g. in the transform decorator) is incomplete, it can raise a MatcherError which is a compiler bug. However, this will only occur when this matcher is actually used which could be very rarely.

To prevent this, we could add a check in the transform decorator. If matchers are used elsewhere, they would suffer from the same issue. However, that should happen only rarely.

@BenWeber42 BenWeber42 added feature New feature or request med-prio Medium priority issue/task labels Jun 17, 2020
@BenWeber42 BenWeber42 added tech-debt Technical debt that is overdue small Requires little effort/time bug Something isn't working and removed feature New feature or request tech-debt Technical debt that is overdue labels Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working med-prio Medium priority issue/task small Requires little effort/time
Projects
None yet
Development

No branches or pull requests

1 participant