Bug 23087 – getLinkage trait regression for overloads with v2.100.0-rc.1

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-05-04T13:01:45Z
Last change time
2022-05-04T14:41:55Z
Keywords
industry, pull
Assigned to
No Owner
Creator
kinke

Comments

Comment #0 by kinke — 2022-05-04T13:01:45Z
``` 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'
Comment #1 by ibuclaw — 2022-05-04T13:10:16Z
Comment #2 by dlang-bot — 2022-05-04T13:39:55Z
@ibuclaw created dlang/dmd pull request #14072 "fix Issue 23087 - getLinkage trait regression for overloads with v2.100.0-rc.1" fixing this issue: - fix Issue 23087 - getLinkage trait regression for overloads with v2.100.0-rc.1 https://github.com/dlang/dmd/pull/14072
Comment #3 by dlang-bot — 2022-05-04T14:41:55Z
dlang/dmd pull request #14072 "fix Issue 23087 - getLinkage trait regression for overloads with v2.100.0-rc.1" was merged into stable: - 8672c13e0aabba38773847e37d0b9a787557450c by Iain Buclaw: fix Issue 23087 - getLinkage trait regression for overloads with v2.100.0-rc.1 https://github.com/dlang/dmd/pull/14072