mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 12:51:10 +00:00
Fix #98
This commit is contained in:
parent
ae53813eea
commit
22b08a2e5a
1 changed files with 1 additions and 1 deletions
|
@ -1498,7 +1498,7 @@ impl PyCodeGenerator {
|
|||
} else {
|
||||
// no else block
|
||||
let idx_end = if self.py_version.minor >= Some(11) {
|
||||
self.lasti() - idx_pop_jump_if_false
|
||||
self.lasti() - idx_pop_jump_if_false - 1
|
||||
} else {
|
||||
self.lasti()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue