Replies: 2 comments
-
Maps created in expr runtime can only be with string keys. map[string]any |
Beta Was this translation helpful? Give feedback.
0 replies
-
oh, I got it. but I think you should give instructions about map in the docs (https://github.com/zhuliquan/expr/blob/feature-reuse_common/docs/Language-Definition.md), otherwise someone may use result of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/antonmedv/expr/blob/d2100ece96affe6766d97e2cf0e4ca4d145f0d30/parser/parser.go#L454C32-L454C32
I am confused why numeric key is parse as
ast.StringNode
Beta Was this translation helpful? Give feedback.
All reactions