fix: structural types bugs

This commit is contained in:
Shunsuke Shibayama 2023-03-20 13:43:25 +09:00
parent a5ce33f2c4
commit 98a1a0292e
9 changed files with 82 additions and 58 deletions

View file

@ -1270,7 +1270,7 @@ impl ASTLowerer {
&name,
));
}
let kind = ContextKind::from(def.def_kind());
let kind = ContextKind::from(&def);
let vis = self
.module
.context