[Issue 22939] New: bad error message: Error: no property `msg` for type `string`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 26 11:51:03 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22939
Issue ID: 22939
Summary: bad error message: Error: no property `msg` for type
`string`
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: kdevel at vogtner.de
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.
--
More information about the Digitalmars-d-bugs
mailing list