[Issue 24138] New: [REG 2.103] MemberFunctionsTuple does not see final functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 9 07:24:50 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24138

          Issue ID: 24138
           Summary: [REG 2.103] MemberFunctionsTuple does not see final
                    functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: schveiguy at gmail.com

```d
class C
{
    final void foo() {}
}

import std.traits : MemberFunctionsTuple;

pragma(msg, MemberFunctionsTuple!(C, "foo"));
```

Prior to 2.103, this outputs tuple(foo). After, it outputs ().

Introduced here: https://github.com/dlang/phobos/pull/8664

--


More information about the Digitalmars-d-bugs mailing list