mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-02 18:03:01 +00:00
Revert "Fix compilation of nested boolean operations"
This commit is contained in:
parent
5c1bc6756c
commit
fde382409c
1 changed files with 2 additions and 0 deletions
|
@ -1303,9 +1303,11 @@ 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