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

修复 break continue 导致死循环以及嵌套异常问题 #130

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DQinYuan
Copy link
Collaborator

@DQinYuan DQinYuan commented Mar 14, 2021

修复 issue #135

break 和 continue 关键字在下面两种情况下会出现死循环:

for (i=1;i<10;i++){
    continue
}
for (i=1;i<10;i++){
    break
}

qlexpress 对 continue 和 break 的实现存在 bug,必须要将 break 或者 continue 放在 if 中使用才可以,否则会出现死循环,改 pr 将修复这个问题。

@DQinYuan DQinYuan changed the title 修复 break continue 导致死循环的问题 修复 break continue 导致死循环以及嵌套异常问题 Apr 19, 2021
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.

1 participant