mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Update parser
This commit is contained in:
parent
6d09b8a4df
commit
fc5ad07660
12 changed files with 242 additions and 113 deletions
|
@ -701,6 +701,9 @@ impl CodeGenerator {
|
|||
self.emit_store_instr(sig.ident, Name);
|
||||
}
|
||||
|
||||
// NOTE: use `TypeVar`, `Generic` in `typing` module
|
||||
// fn emit_poly_type_def(&mut self, sig: SubrSignature, body: DefBody) {}
|
||||
|
||||
fn emit_var_def(&mut self, sig: VarSignature, mut body: DefBody) {
|
||||
if body.is_type() {
|
||||
return self.emit_mono_type_def(sig, body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue