Partially fi x #296

This commit is contained in:
Shunsuke Shibayama 2022-12-17 16:44:51 +09:00
parent 261927e0f9
commit 1cc17bdd5a
3 changed files with 31 additions and 15 deletions

View file

@ -147,7 +147,7 @@ impl Runnable for Compiler {
}
fn exec(&mut self) -> Result<i32, Self::Errs> {
let path = self.cfg.dump_path().replace(".er", ".pyc");
let path = self.cfg.dump_pyc_path();
let warns = self
.compile_and_dump_as_pyc(path, self.input().read(), "exec")
.map_err(|eart| {