-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEnum::GetEnum
does not seem to see 'through' using statements.
#15406
Comments
One of the parts/elements of the behavior is that:
with
and with
returns the E decl (i.e. ignores the
later in the
is false since |
So there is 2 solutions:
|
pcanal
added a commit
to pcanal/root
that referenced
this issue
May 2, 2024
This allows to resolved using statement and find the target enum. This fixes root-project#15406
1 task
pcanal
added a commit
to pcanal/roottest
that referenced
this issue
May 2, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
This was referenced May 2, 2024
pcanal
added a commit
to pcanal/root
that referenced
this issue
May 6, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
pcanal
added a commit
to pcanal/roottest
that referenced
this issue
May 6, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
pcanal
added a commit
to pcanal/root
that referenced
this issue
May 7, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
pcanal
added a commit
to pcanal/root
that referenced
this issue
May 7, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
dpiparo
pushed a commit
to root-project/roottest
that referenced
this issue
May 8, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
dpiparo
pushed a commit
that referenced
this issue
May 8, 2024
This allows to resolve using statement and find the target enum. This fixes #15406
dpiparo
pushed a commit
to dpiparo/root
that referenced
this issue
May 8, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
pcanal
added a commit
to pcanal/roottest
that referenced
this issue
May 8, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
pcanal
added a commit
to root-project/roottest
that referenced
this issue
May 8, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
pcanal
added a commit
that referenced
this issue
May 8, 2024
This allows to resolve using statement and find the target enum. This fixes #15406
pcanal
added a commit
to pcanal/root
that referenced
this issue
May 8, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
pcanal
added a commit
to pcanal/roottest
that referenced
this issue
May 8, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
pcanal
added a commit
to root-project/roottest
that referenced
this issue
May 8, 2024
This is testing root-project/root#15406 and can test root-project/root#15407 (be is currently disable as the issue is not fixed)
pcanal
added a commit
that referenced
this issue
May 8, 2024
This allows to resolve using statement and find the target enum. This fixes #15406
silverweed
pushed a commit
to silverweed/root
that referenced
this issue
May 14, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
PPaye
pushed a commit
to PPaye/root
that referenced
this issue
Jun 3, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
silverweed
pushed a commit
to silverweed/root
that referenced
this issue
Aug 19, 2024
This allows to resolve using statement and find the target enum. This fixes root-project#15406
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check duplicate issues.
Description
As first seen in cms-sw/cmssw#44670,
TEnum::GetEnum
does not seem to see 'through' using statements.Reproducer
With file
enumusing.cxx
(see below) return 1 instead 0;The issue was uncovered was investigating the change/improvement shown in
related_enumusing
where the return value on master and v6-32 release candidate (due to commit fa27874), the execution now return0
(new correct behavior) instead of3
(old inaccurate behavior but expected by the user).ROOT version
master
Installation method
any
Operating system
any
Additional context
TClass::GetClass
handles properly direct using statementbut not using namespace statement:
The text was updated successfully, but these errors were encountered: