mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 18:29:00 +00:00
fix(REPL): add the code
This commit is contained in:
parent
ded77b7111
commit
a498b906c4
1 changed files with 3 additions and 0 deletions
|
@ -782,6 +782,9 @@ pub trait Runnable: Sized + Default {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
vm.push_code(line);
|
||||
vm.push_code("\n");
|
||||
continue;
|
||||
}
|
||||
// Intentionally code will be evaluated and make an error
|
||||
vm.now = BlockKind::Main;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue