mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 05:11:09 +00:00
Automatically display evaluation results in REPL
This commit is contained in:
parent
78e30b3867
commit
beb0965cde
3 changed files with 14 additions and 5 deletions
|
@ -577,9 +577,6 @@ impl Context {
|
|||
],
|
||||
NoneType,
|
||||
);
|
||||
if cfg!(feature = "debug") {
|
||||
self.register_impl("p!", t_print.clone(), Const, Private);
|
||||
}
|
||||
self.register_impl("print!", t_print, Const, Private);
|
||||
self.register_impl("input!", t_input, Const, Private);
|
||||
self.register_impl("if!", t_if, Const, Private);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue