On Tuesday, 17 November, 2015 03:49 AM, Ali Çehreli wrote:
On 11/16/2015 10:56 AM, ric maicle wrote:
I accidentally typed an extra asterisk in the format specifier.
I know that it is wrong but the error isn't clear about what
and where the error is.

import std.stdio;

void main()
{
writef("%*10s", 100);
}

and I got the following error message(s):

$ dmd -run writef.d
std.format.FormatException@std/format.d(978): $ expected

That message can be improved. Please open a bug report:

   https://issues.dlang.org/enter_bug.cgi

Thank you,
Ali

Filed: https://issues.dlang.org/show_bug.cgi?id=15348

Reply via email to