Closed tsatke closed 4 years ago
Describe the bug Parsing 2+3 (unquoted) yields a literal expression rather than a binary expression.
2+3
To Reproduce Steps to reproduce the behavior: Try to parse 2+3.
Expected behavior Should yield a BinaryExpression(op=+, left=2, right=3).
BinaryExpression(op=+, left=2, right=3)
Additional context Parsing "2+3" must yield a literal expression, 2+3 must not.
"2+3"
Describe the bug Parsing
2+3
(unquoted) yields a literal expression rather than a binary expression.To Reproduce Steps to reproduce the behavior: Try to parse
2+3
.Expected behavior Should yield a
BinaryExpression(op=+, left=2, right=3)
.Additional context Parsing
"2+3"
must yield a literal expression,2+3
must not.