Skip to content

ROOT produces incorrect dictionary for constrained class templates #13461

Open
@greenc-FNAL

Description

@greenc-FNAL

Check duplicate issues.

  • Checked for duplicates

Description

The attached reproducer will fail to execute the ROOT Python script successfully when the buggy::Constraint class template is constrained instead of producing identical output to when buggy::Constraint is not constrianed:

$ ./makeit good
number = 5
$ ./makeit
Error in <TInterpreter::AutoParse>: Error parsing payload code for class buggy::Constrained with content:
⋮

Reproducer

To induce the failure case:

$ cd root-concepts-dict-bug
$ ./makeit

To see the reference output:

$ cd root-concepts-dict-bug
$ ./makeit good

ROOT version

ROOT 6.28/04@30598a8430

Installation method

UPS

Operating system

SL7

Additional context

Compiled with GCC 13.1.0/C++20.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions