May 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23087

          Issue ID: 23087
           Summary: getLinkage trait regression for overloads with
                    v2.100.0-rc.1
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: kinke@gmx.net

```
struct S {
    this(bool) {}
    this(bool, int) {}
}

static foreach (ctor; __traits(getOverloads, S, "__ctor"))
    pragma(msg, "'", __traits(getLinkage, ctor), "'");
```

Output with v2.100.0-rc.1:
''
'D'

With v2.099.1:
'D'
'D'

--