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

Validator: No detection of two type issues in [...] #101

Open
maxkratz opened this issue Dec 21, 2022 · 1 comment
Open

Validator: No detection of two type issues in [...] #101

maxkratz opened this issue Dec 21, 2022 · 1 comment
Assignees
Labels
bug Something isn't working validator Issue includes validator bugs

Comments

@maxkratz
Copy link
Member

Both examples:

constraint -> mapping::n2n {
	[self.variables().v >= 1 => self.value() => 1] & // the last operator is wrong but not detected
	[self.value() >= 1 => self.variables().v >= 1]
}
constraint -> mapping::n2n {
	[self.variables().v >= 1 => self.value()] & // the last expr is missing an arithmetic operator
	[self.value() >= 1 => self.variables().v >= 1]
}
@maxkratz maxkratz added bug Something isn't working validator Issue includes validator bugs labels Dec 21, 2022
@maxkratz maxkratz self-assigned this Dec 21, 2022
@maxkratz
Copy link
Member Author

TODO: Check if this is a symptom of #102.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validator Issue includes validator bugs
Projects
None yet
Development

No branches or pull requests

1 participant