mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
fix: structural types bugs
This commit is contained in:
parent
a5ce33f2c4
commit
98a1a0292e
9 changed files with 82 additions and 58 deletions
|
@ -1270,7 +1270,7 @@ impl ASTLowerer {
|
|||
&name,
|
||||
));
|
||||
}
|
||||
let kind = ContextKind::from(def.def_kind());
|
||||
let kind = ContextKind::from(&def);
|
||||
let vis = self
|
||||
.module
|
||||
.context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue