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

Error propagation does not work properly for logical binary operators #862

Open
SimonCockx opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@SimonCockx
Copy link
Contributor

Given a binary operator where one of the operands has type nothing (i.e., it has a type error), then the resulting type of a logical binary operator should still be a boolean. Right now it is nothing as well.

Example:

myList filter 42 = thisSymbolDoesNotExists

This one confusingly results in an error on the filter operation, since its body is not of type boolean, but of type nothing.

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

No branches or pull requests

1 participant