Bug 22939 – bad error message: Error: no property `msg` for type `string`
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-03-26T11:51:03Z
Last change time
2023-01-08T13:47:10Z
Keywords
pull
Assigned to
No Owner
Creator
kdevel
Comments
Comment #0 by kdevel — 2022-03-26T11:51:03Z
import std.stdio;
void main ()
{
writefln!"%30.24f" (1., 1.);
}
$ dmd zzz1 (dmd 2.099)
.../linux/bin64/../../src/phobos/std/stdio.d(4432): Error: no property `msg` for type `string`
.../linux/bin64/../../src/phobos/std/stdio.d(4432): Error: static assert: __error
zzz1.d(5): instantiated from here: `writefln!("%30.24f", double, double)`
expected: Report mismatch between expected and actual number of parameters.
@dkorpel created dlang/phobos pull request #8424 "Fix issue 22939 - bad error message: Error: no property `msg` for typ…" fixing this issue:
- Fix issue 22939 - bad error message: Error: no property `msg` for type `string`
https://github.com/dlang/phobos/pull/8424
Comment #3 by dlang-bot — 2022-03-29T18:51:37Z
dlang/phobos pull request #8424 "Fix issue 22939 - bad error message: Error: no property `msg` for typ…" was merged into stable:
- 2f7ec47051201fe7f0111d559e993860c56585db by Dennis Korpel:
Fix issue 22939 - bad error message: Error: no property `msg` for type `string`
https://github.com/dlang/phobos/pull/8424
Comment #4 by dlang-bot — 2022-04-01T11:37:42Z
dlang/phobos pull request #8425 "merge stable" was merged into master:
- ba92563a0d69d07f182ea7305bb6def1791a7bd8 by Dennis Korpel:
Fix issue 22939 - bad error message: Error: no property `msg` for type `string`
https://github.com/dlang/phobos/pull/8425