mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
WIP: Impl Context::monomorphise
Impled: TyVarContext::sort_bounds
This commit is contained in:
parent
4a4b346199
commit
6d3dda8129
6 changed files with 462 additions and 325 deletions
|
@ -1237,7 +1237,8 @@ impl CodeGenerator {
|
|||
}
|
||||
self.cancel_pop_top(); // 最後の値は戻り値として取っておく
|
||||
if self.input().is_repl() {
|
||||
if self.cur_block().stack_len == 1 { // remains `print`, nothing to be printed
|
||||
if self.cur_block().stack_len == 1 {
|
||||
// remains `print`, nothing to be printed
|
||||
self.edit_code(print_point, Opcode::NOP as usize);
|
||||
} else {
|
||||
self.write_instr(CALL_FUNCTION);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue