-
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
[cling][c++20] Interpreter crash on concept definition #12779
Comments
jalopezg-git
changed the title
[cling] Interpreter crash on C++20 concept definition
[cling][c++20] Interpreter crash on concept definition
May 6, 2023
jalopezg-git
added a commit
to jalopezg-git/root
that referenced
this issue
May 7, 2023
In principle, for a TemplateDecl, `isDefinition()` issues a recursive call passing the templated decl as a parameter. A `ConceptDecl` is derived from `TemplateDecl`, however, it should always be considered a definition. Also, update the DeclShadowing test incorporating a C++20 concept. Fixes root-project#12779.
jalopezg-git
added a commit
to jalopezg-git/root
that referenced
this issue
May 7, 2023
In principle, for a TemplateDecl, `isDefinition()` issues a recursive call passing the templated decl as a parameter. A `ConceptDecl` is derived from `TemplateDecl`, however, it should always be considered a definition. Also, update the DeclShadowing test incorporating a C++20 concept. Fixes root-project#12779.
This was referenced May 7, 2023
Axel-Naumann
pushed a commit
that referenced
this issue
May 7, 2023
In principle, for a TemplateDecl, `isDefinition()` issues a recursive call passing the templated decl as a parameter. A `ConceptDecl` is derived from `TemplateDecl`, however, it should always be considered a definition. Also, update the DeclShadowing test incorporating a C++20 concept. Fixes #12779.
Axel-Naumann
pushed a commit
that referenced
this issue
May 7, 2023
In principle, for a TemplateDecl, `isDefinition()` issues a recursive call passing the templated decl as a parameter. A `ConceptDecl` is derived from `TemplateDecl`, however, it should always be considered a definition. Also, update the DeclShadowing test incorporating a C++20 concept. Fixes #12779.
enirolf
pushed a commit
to enirolf/root
that referenced
this issue
May 26, 2023
In principle, for a TemplateDecl, `isDefinition()` issues a recursive call passing the templated decl as a parameter. A `ConceptDecl` is derived from `TemplateDecl`, however, it should always be considered a definition. Also, update the DeclShadowing test incorporating a C++20 concept. Fixes root-project#12779.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
An interactive ROOT session crashes on definition of a simple C++20 concept, e.g.
For reference, the relevant stack trace frames is provided below.
Setup
The text was updated successfully, but these errors were encountered: