We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10730ce commit ebbbaf4Copy full SHA for ebbbaf4
src/chunker.rs
@@ -238,7 +238,7 @@ impl Chunker {
238
// TODO: Check with stack analyzer to see if adding the builder is better or not.
239
num_unclosed_ifs += builder.num_unclosed_ifs();
240
chunk_len += block_len;
241
- if num_unclosed_ifs + builder.num_unclosed_ifs() == 0 {
+ if num_unclosed_ifs == 0 {
242
// We are going to keep this structured script in the chunk
243
// Reset the undo information
244
chunk_scripts.extend(undo_info.reset());
0 commit comments