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

GROQ Fix equality between non-literals #333

Open
4 tasks
saiichihashimoto opened this issue Sep 13, 2023 · 0 comments
Open
4 tasks

GROQ Fix equality between non-literals #333

saiichihashimoto opened this issue Sep 13, 2023 · 0 comments
Labels
help wanted Please help me! I'm lonely.

Comments

@saiichihashimoto
Copy link
Owner

Anything that resolves to non-literal number==number ends up returning true, where it should return boolean. I think it should go:

  • If they're both literals, return true or false based on if they're equal
  • If one of them is non-literal but they're the same type, return boolean
  • If they're different types, return false
  • Return the inverse for !=
@saiichihashimoto saiichihashimoto added the help wanted Please help me! I'm lonely. label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Please help me! I'm lonely.
Projects
None yet
Development

No branches or pull requests

1 participant