E cppyy.gbl.std.runtime_error: int TypedefedEnum::func(const TypedefedEnum::Day day) =>
E runtime_error: failed to resolve function
/home/maximus/cppyy/cppyy/test/test_regression.py:1234: runtime_error
----------------------------------------------- Captured stderr call ------------------------------------------------
input_line_275:6:60: error: typedef 'Day' cannot be referenced with a enum specifier
new (ret) (int) (((int (&)(const enum TypedefedEnum::Day))TypedefedEnum::func)(*(const enum TypedefedEnum::Day*)args[0]));
^
input_line_274:6:11: note: declared here
} Day;
^
While running regression tests on typedefed enums on cppyy v2.4.2 built from source, I was running into the following error when the line
resulted in the error: