mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
fix: nested module bug
This commit is contained in:
parent
20b1993714
commit
a6e7a39753
8 changed files with 62 additions and 28 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue