Bug 23830 – Azure failure for OMF: Module name not printed before struct symbol

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-04-06T08:32:24Z
Last change time
2024-07-20T11:37:16Z
Keywords
pull
Assigned to
No Owner
Creator
Dennis

Comments

Comment #0 by dkorpel — 2023-04-06T08:32:24Z
As of April 3rd 2023, the Windows 32-bit OMF test suite targets fail because struct symbols are not printed as fully qualified names in some error messages: ``` FAILED targets: - fail_compilation\bug9631.d - fail_compilation\fail19948.d ``` ``` diff: ---- fail_compilation\bug9631.d(58): Error: cannot cast expression `ta` of type `bug9631.tem!().S[1]` to `bug9631.S[1]` because of different sizes fail_compilation\bug9631.d(59): Error: cannot cast expression `sa` of type `S[1]` to `S[]` since sizes don't line up fail_compilation\bug9631.d(79): Error: function `bug9631.arg.f(int i, S s)` is not callable using argument types `(int, S)` -fail_compilation\bug9631.d(79): cannot pass argument `y` of type `bug9631.tem!().S` to parameter `bug9631.S s` +fail_compilation\bug9631.d(79): cannot pass argument `y` of type `bug9631.tem!().S` to parameter `S s` fail_compilation\bug9631.d(80): Error: function literal `__lambda4(S s)` is not callable using argument types `(S)` -fail_compilation\bug9631.d(80): cannot pass argument `x` of type `bug9631.S` to parameter `bug9631.tem!().S s` +fail_compilation\bug9631.d(80): cannot pass argument `x` of type `bug9631.S` to parameter `S s` fail_compilation\bug9631.d(86): Error: constructor `bug9631.arg.A.this(S _param_0)` is not callable using argument types `(S)` -fail_compilation\bug9631.d(86): cannot pass argument `S(0)` of type `bug9631.tem!().S` to parameter `bug9631.S _param_0` +fail_compilation\bug9631.d(86): cannot pass argument `S(0)` of type `bug9631.tem!().S` to parameter `S _param_0` fail_compilation\bug9631.d(106): Error: function `bug9631.targ.ft!().ft(S _param_0)` is not callable using argument types `(S)` -fail_compilation\bug9631.d(106): cannot pass argument `x` of type `bug9631.S` to parameter `bug9631.tem!().S _param_0` +fail_compilation\ ... fail_compilation\ccast.d -verrors=0 () bug9631.d(106): cannot pass argument `x` of type `bug9631.S` to parameter `S _param_0` fail_compilation\bug9631.d(107): Error: none of the overloads of template `bug9631.targ.ft` are callable using argument types `!()(S)` fail_compilation\bug9631.d(105): Candidate is: `ft()(tem!().S)` fail_compilation\bug9631.d(109): Error: none of the overloads of template `bug9631.targ.ft2` are callable using argument types `!()(S, int)` ---- ``` ``` diff: ---- fail_compilation\fail19948.d(15): Error: function `fail19948.func(const(X))` is not callable using argument types `(X)` -fail_compilation\fail19948.d(15): cannot pass argument `X()` of type `fail19948.main.X` to parameter `const(fail19948.X)` +fail_compilation\fail19948.d(15): cannot pass argument `X()` of type `fail19948.main.X` to parameter `const(X)` ---- ``` I can't reproduce it locally.
Comment #1 by dkorpel — 2023-04-06T09:21:08Z
PR to disable the tests in the mean time: https://github.com/dlang/dmd/pull/15084
Comment #2 by dlang-bot — 2024-07-19T13:23:05Z
@dkorpel created dlang/dmd pull request #16727 "Fix bugzilla 23830 - Azure failure for OMF: Module name not printed b…" fixing this issue: - Fix bugzilla 23830 - Azure failure for OMF: Module name not printed before struct symbol https://github.com/dlang/dmd/pull/16727
Comment #3 by dlang-bot — 2024-07-20T11:37:16Z
dlang/dmd pull request #16727 "Fix bugzilla 23830 - Azure failure for OMF: Module name not printed b…" was merged into master: - 1e1b17d878de15f3f02e2beebd98286199119362 by Dennis Korpel: Fix bugzilla 23830 - Azure failure for OMF: Module name not printed before struct symbol https://github.com/dlang/dmd/pull/16727