mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
fix: indexing of type specs
This commit is contained in:
parent
239e07c84a
commit
2d04d4d424
4 changed files with 53 additions and 16 deletions
|
@ -155,7 +155,7 @@ impl ASTLowerer {
|
|||
}
|
||||
|
||||
pub(crate) fn inc_ref<L: Locational>(&self, vi: &VarInfo, name: &L) {
|
||||
self.module.context.inc_ref(vi, name);
|
||||
self.module.context.inc_ref(vi, name, &self.module.context);
|
||||
}
|
||||
|
||||
pub(crate) fn warn_unused_vars(&mut self, mode: &str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue