Update codegen.rs

This commit is contained in:
Shunsuke Shibayama 2022-09-29 20:42:48 +09:00
parent f9e35aab2d
commit 9eb7e8e9ba

View file

@ -631,6 +631,7 @@ impl CodeGenerator {
self.emit_store_global_instr(item); self.emit_store_global_instr(item);
} }
} }
self.emit_pop_top(); // discard IMPORT_FROM object
} }
fn emit_load_attr_instr( fn emit_load_attr_instr(