File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -604,13 +604,13 @@ void UseDecl::bind_wildcard(artic::NameBinder& binder) {
604604 binder.bind (path);
605605 assert (path.elems .size () >= 2 );
606606 auto & penultimate = path.elems [path.elems .size () - 2 ];
607- NamedDecl* decl = penultimate.decl ;
608- auto mod = decl ->isa <ModDecl>();
609- if (!mod ) {
610- binder.error (penultimate.id .loc , " '{}' is not a module" , decl ->id .name );
607+ NamedDecl* importee = penultimate.decl ;
608+ auto imported_mod = importee ->isa <ModDecl>();
609+ if (!imported_mod ) {
610+ binder.error (penultimate.id .loc , " '{}' is not a module" , importee ->id .name );
611611 }
612612
613- for (auto & decl : mod ->decls ) {
613+ for (auto & decl : imported_mod ->decls ) {
614614 auto member = decl->isa <NamedDecl>();
615615 if (!member)
616616 continue ;
You can’t perform that action at this time.
0 commit comments