mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Update traits.rs
This commit is contained in:
parent
8ce843a8df
commit
26a26e90de
1 changed files with 0 additions and 9 deletions
|
@ -440,15 +440,6 @@ pub trait Runnable: Sized {
|
|||
continue;
|
||||
}
|
||||
|
||||
// if (expect_block(line) && !in_block)
|
||||
// || (is_in_the_expected_block(line, &lines, &mut in_block) && in_block)
|
||||
// {
|
||||
// lines += "\n";
|
||||
// output.write_all(instance.ps2().as_bytes()).unwrap();
|
||||
// output.flush().unwrap();
|
||||
// continue;
|
||||
// }
|
||||
|
||||
match instance.eval(mem::take(&mut lines)) {
|
||||
Ok(out) => {
|
||||
output.write_all((out + "\n").as_bytes()).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue