跳到主要内容

UnexpectedBreak

等级:错误

在循环之外出现意外的 break

如何修复

break 只能出现在 loopwhilefor 循环中。

修改前

break; 

修复后

loop {
  break;
}