★ wanayoo — archive 1999 https://github.com/openvalidation/openvalidation/issues/82Nouvelle recherche | Portail wanayoo
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

Arithmetic Expression should not contain space between operands and operator. #82

Open
LSchultebraucks opened this issue Jan 31, 2020 · 0 comments

Comments

@LSchultebraucks
Copy link
Contributor

@LSchultebraucks LSchultebraucks commented Jan 31, 2020

Expected Behavior

I expect that arithmetic expression where there is no space between operands and operator can be parsed correct. E.g. (3*3) or (3*3) + 3

Current Behavior

Arithmetic expressions like (3*3) currently throw errors (like comparison contains Different DataTypes). Expressions like (3*3) + 3 are parsed like (3.0+3.0) which is obviously are wrong parse.

Possible Solution

Arithmetic expression should allow to contain no space between operands and operator.

Steps to Reproduce (for bugs)

  1. Open Playground
  2. OV: IF the number IS (3*3) + 3 THEN its a error
    Schema: number: 20
  3. As you can see, the code generation/the parse is wrong. (as described above). Same with the other case.

Context

There should be no such rule that arithmetic expression should contain a space between operands and operators. A Space should be not part of the grammar.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.