| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
April 21, 2018 [Issue 15348] std.stdio.writef format specifier error message | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15348 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #1 from Nick Treleaven <nick@geany.org> --- Just for reference, you can now use a compile-time format string - you get an error for the right source line (after the first error): writef!"%*10d"(100); /dlang/dmd/src/phobos/std/stdio.d(3878): Error: static assert: "$ expected" onlineapp.d(5): instantiated from here: writef!("%*10d", int) Fixing this issue could still be useful for runtime format strings. -- | ||||
December 20, 2019 [Issue 15348] std.stdio.writef format specifier error message | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15348 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@d-ecke.de --- Comment #2 from berni44 <bugzilla@d-ecke.de> --- (In reply to ric from comment #0) > The code below throws a FormatException but reports an error from the library source instead of reporting the error from the offending line in the user program. That's not true. The last line contains the error in the user program. When compiling with -g you would see there: [...] test.d:5 _Dmain [0x47437c1] > Also, a more informative error message would help. Yeah, something like "$ expected while parsing the format string" maybe? -- | ||||
March 21, 2021 [Issue 15348] std.stdio.writef format specifier error message | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15348 Berni44 <bugzilla@bernis-buecher.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@bernis-buecher.de Hardware|x86_64 |All OS|Linux |All Severity|normal |minor -- | ||||
March 21, 2021 [Issue 15348] std.stdio.writef format specifier error message | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15348 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @berni44 created dlang/phobos pull request #7899 "Fix Issue 15348 - std.stdio.writef format specifier error message" fixing this issue: - Fix Issue 15348 - std.stdio.writef format specifier error message https://github.com/dlang/phobos/pull/7899 -- | ||||
March 22, 2021 [Issue 15348] std.stdio.writef format specifier error message | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15348 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7899 "Fix Issue 15348 - std.stdio.writef format specifier error message" was merged into master: - bb64a4233a97bbed6f9b9a32fa2ef41df4c398f3 by berni44: Fix Issue 15348 - std.stdio.writef format specifier error message https://github.com/dlang/phobos/pull/7899 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply