digitalmars.D.bugs - [Issue 23020] New: pragma(printf) should warn for %*.s
- d-bugmail puremagic.com (18/18) Apr 15 2022 https://issues.dlang.org/show_bug.cgi?id=23020
https://issues.dlang.org/show_bug.cgi?id=23020 Issue ID: 23020 Summary: pragma(printf) should warn for %*.s Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: moonlightsentinel disroot.org Because it's most likely a typo. The common case is %.*s to print a slice passed as length + ptr. %*.s is equivalent to %*.0s and specifies "Print zero characters from the string padded to a runtime width" --
Apr 15 2022