fix: nested module bug

This commit is contained in:
Shunsuke Shibayama 2024-01-31 12:11:20 +09:00
parent 20b1993714
commit a6e7a39753
8 changed files with 62 additions and 28 deletions

View file

@ -2514,7 +2514,7 @@ impl<A: ASTBuildable> GenericASTLowerer<A> {
let (unverified_names, mut errors) = if let Some(typ_ctx) = self
.module
.context
.get_outer()
.get_outer_scope()
.unwrap()
.get_nominal_type_ctx(&impl_trait)
{