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

Null in logical operators #330

Open
NicoLaval opened this issue May 20, 2024 · 1 comment
Open

Null in logical operators #330

NicoLaval opened this issue May 20, 2024 · 1 comment

Comments

@NicoLaval
Copy link
Collaborator

@noahboerger you reported Null in logical operators results in null in trevas instead of being interpreted as false (seems to be correct behaviour reference manual part 2 (page 99f)).

Can you provide an example please?

@NicoLaval NicoLaval added question Further information is requested Needs more information and removed question Further information is requested labels May 20, 2024
@noahboerger
Copy link
Collaborator

I think this is more an issue of the testcases from BdI that we have used and the testcases should be adjusted according to the reference manual. The behaviour of trevas seems to be correct out of my point of view.

Examples are e.g. testcases that contains comparisons of null values with null or false values, that are resulting in nulls (as described by the reference manual) but our testcases assume to be resulting in a true value (interpreting null always as false).

(e.g. boolean/and_1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants