aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuescript/yue_compiler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp
index caeee53..2615a2b 100644
--- a/src/yuescript/yue_compiler.cpp
+++ b/src/yuescript/yue_compiler.cpp
@@ -8948,10 +8948,6 @@ private:
8948 addToScope(var); 8948 addToScope(var);
8949 } 8949 }
8950 popScope(); 8950 popScope();
8951 } else {
8952 if (breakLoop->valueList->exprs.size() != breakWithValues.size()) {
8953 throw CompileError("expecting "s + std::to_string(breakWithValues.size()) + " break values, got "s + std::to_string(breakLoop->valueList->exprs.size()), breakLoop->valueList->exprs.front());
8954 }
8955 } 8951 }
8956 breakLoop->vars = breakWithValues; 8952 breakLoop->vars = breakWithValues;
8957 } else { 8953 } else {