extern(System) void foo() {} pragma(msg, __traits(getLinkage, foo)); Prints "C" but the spec <https://dlang.org/spec/traits.html#getLinkage> says it can be "System" and thus should be since that's what is in the source.
@dkorpel created dlang/dlang.org pull request #3185 "Fix issue 22234 - __traits(getLinkage) returns wrong value for extern(System) functions" fixing this issue: - Fix issue 22234 - __traits(getLinkage) returns wrong value for extern(System) functions https://github.com/dlang/dlang.org/pull/3185
@dkorpel created dlang/dmd pull request #13942 "Fix issue 22234 - traits(getLinkage) returns wrong value for extern(System) functions" fixing this issue: - Fix issue 22234 - traits(getLinkage) returns wrong value for extern(System) functions https://github.com/dlang/dmd/pull/13942
dlang/dmd pull request #13942 "Fix issue 22234 - traits(getLinkage) returns wrong value for extern(System) functions" was merged into master: - e194e648b2cacd6378774e9a713554d588a88920 by Dennis Korpel: Fix issue 22234 - traits(getLinkage) returns wrong value for extern(System) functions https://github.com/dlang/dmd/pull/13942