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

Fix: "or" and "and" operators evaluates NULL as TRUE value. #418

Merged
merged 2 commits into from Feb 24, 2016

Conversation

micranet
Copy link
Contributor

Example:
$a: (null or 'foo'); // $a evaluates NULL, and it shoud be 'foo'

@robocoder
Copy link
Collaborator

Please add tests. Thanks.

@robocoder
Copy link
Collaborator

Thanks.

robocoder added a commit that referenced this pull request Feb 24, 2016
Fix: "or" and "and" operators evaluates NULL as TRUE value.
@robocoder robocoder merged commit 9497dd5 into leafo:master Feb 24, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants