-
Notifications
You must be signed in to change notification settings - Fork 9
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
Warning for when an "arbitrary" rule is chosen? #160
Comments
Can you elaborate on this? |
Basically I had a
etc... And I use it like this:
However, there was a special case for when variant = "alpine", so I copy-pasted the definition for
I thought it would be alright to just replace the "variant" variable with |
I was thinking about a warning when there are multiple valid choices for a predicate. This would also prevent mistake like
When we add some kind of cost-based selection later maybe we could limit this warning to just logic predicates... |
Just spent 3 hour on a simple mistake caused by an accidentally unbounded variable.
The text was updated successfully, but these errors were encountered: