Opened 3 weeks ago

Closed 3 weeks ago

#14955 closed defect (fixed)

Bad varid for enumerator with using namespace

Reported by: chrchr Owned by: ludviggunne
Priority: Normal Milestone: 2.22
Component: Other Version:
Keywords: varid Cc:

Description

From #14952:

namespace O {}
namespace N {
        using namespace O;
        enum class E { E0 };
        auto E0 = E::E0;        
}
2: namespace N {
3: using namespace O ;
4: enum class E { E0@var1 } ;
5: auto E0@var1 ; E0@var1 =@exprUNIQUE E ::@exprUNIQUE E0@var1 ;
6: }

Change History (2)

comment:1 by ludviggunne, 3 weeks ago

Owner: changed from noone to ludviggunne
Status: newassigned

comment:2 by ludviggunne, 3 weeks ago

Milestone: 2.22
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.