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

* 修复:ExpressRunner.executeRule 不支持语句 if(){}else{} 这种最后包含else语句的问题。 #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

helpta
Copy link

@helpta helpta commented Nov 13, 2020

  • 修复:ExpressRunner.executeRule 不支持语句 if(){}else{} 这种最后包含else语句的问题。原因是解析rule的时候只兼容了else if(){}。

这个问题会导致else逻辑被解析丢了,进而永远不可能被执行。


  • Fix: ExpressRunner.executeRule not support statemnt like ' if(){}else{}' which contain 'else' statement .The reason is just compatible with 'else if' satement.

This bug will missing the else logic when parsing the statement and the logic will never be execute.

@CLAassistant
Copy link

CLAassistant commented Nov 13, 2020

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants