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

表达式校验问题 #177

Closed
hillfly opened this issue Nov 21, 2019 · 2 comments
Closed

表达式校验问题 #177

hillfly opened this issue Nov 21, 2019 · 2 comments
Labels

Comments

@hillfly
Copy link

hillfly commented Nov 21, 2019

版本:4.2.6
值:{"age ": 20}
表达式:$age >30 ($age < 20)

上述表达式能编译能编译通过,运行报错Could not cast object <Long, 0> into a aviator function.

同样的值和表达式,在2.3.7版本下编译报错。请问这类明显有问题的表达式能否在编译时就把异常抛出?

@killme2008
Copy link
Owner

这个应该是个bug,我会看下

@killme2008 killme2008 added the bug label Nov 21, 2019
killme2008 added a commit that referenced this issue Nov 22, 2019
@killme2008
Copy link
Owner

发布了 4.2.7,已修复。

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

No branches or pull requests

2 participants