Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

namespace scoping is not handled properly in function and template parameters #627

Open
dkrupp opened this issue Mar 7, 2019 · 2 comments
Assignees

Comments

@dkrupp
Copy link
Member

dkrupp commented Mar 7, 2019

structural equivalence currently does not take namespace into consideration, but it should.

file: a.cc
namespace x{
class a;
}
void f(x::a);

file: imported.cc
namespace y{
class a;
}
void f(y::a);

The error is that f(x::a) is said to be equivalent with f(y::a)
and the import fails.

There is such error in bitcoin.

@dkrupp dkrupp added this to the march 14 milestone Mar 7, 2019
@balazske
Copy link
Collaborator

balazske commented Mar 8, 2019

There is a related pull request #629.

@dkrupp dkrupp modified the milestones: march 14, march 21 Mar 14, 2019
@dkrupp
Copy link
Member Author

dkrupp commented Mar 21, 2019

there is a suspected problem with astreader in ASTContext getCanonicalTemplateTemplateParmDecl(..)

@dkrupp dkrupp modified the milestones: march 21, march 28, April 4th Mar 21, 2019
@dkrupp dkrupp modified the milestones: April 4th, 18th of April Apr 8, 2019
@dkrupp dkrupp modified the milestones: 18th of April, 2nd of May Apr 18, 2019
@dkrupp dkrupp modified the milestones: 2nd of May, 30th of May May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants