Bug 22702 – druntime not compliant with D spec re getLinkage

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-01-24T14:54:03Z
Last change time
2022-01-26T07:42:15Z
Keywords
pull
Assigned to
No Owner
Creator
Adam D. Ruppe

Comments

Comment #0 by destructionator — 2022-01-24T14:54:03Z
The spec says getLinkage can return "System" and it is possible more can be added in the future. Druntime should be written to account for this.
Comment #1 by dlang-bot — 2022-01-24T14:56:18Z
@adamdruppe created dlang/druntime pull request #3705 "Fix #22702 - make compilant with getLinkage returning System or Obj-C" fixing this issue: - Fix #22702 - make compilant with getLinkage returning System or Objective-C https://github.com/dlang/druntime/pull/3705
Comment #2 by dlang-bot — 2022-01-26T07:42:15Z
dlang/druntime pull request #3705 "Fix #22702 - make compilant with getLinkage returning System or Obj-C" was merged into master: - 77df80ba01dac8dcbe1f3f47d0f2c90c23cd5501 by Adam D. Ruppe: Fix #22702 - make compilant with getLinkage returning System or Objective-C https://github.com/dlang/druntime/pull/3705