mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
Partially fi x #296
This commit is contained in:
parent
261927e0f9
commit
1cc17bdd5a
3 changed files with 31 additions and 15 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue