mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-24 05:26:24 +00:00
Fix compilation of nested boolean operations
This commit is contained in:
parent
dd53fe8f89
commit
5c1bc6756c
1 changed files with 0 additions and 2 deletions
|
@ -1303,11 +1303,9 @@ impl<O: OutputStream> Compiler<O> {
|
|||
self.emit(Instruction::Pop);
|
||||
}
|
||||
if let Some(false_label) = false_label {
|
||||
self.emit(Instruction::Duplicate);
|
||||
self.emit(Instruction::JumpIfFalse {
|
||||
target: false_label,
|
||||
});
|
||||
self.emit(Instruction::Pop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue