-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
When doing "goexpression.Eval(expression, context)"
With expression == "A <= C"
And context a map[string]interface{} with values:
- "A" -> 180 (float64)
- "C" -> 25000 (float64)
I'm getting an error parsing the expression, parse.err has the following string value:
Line: 1, near "= C", Error: Unexpected token.
The error is happening around parse.parse() in here (parse.go):

This is happening on MacOS and Linux with Docker, using go modules with go 1.17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels